Skip to content

Commit a98f3c3

Browse files
authored
doc fixes for preview 1 update (#113027)
1 parent 87954fa commit a98f3c3

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

src/libraries/Microsoft.Extensions.FileProviders.Physical/src/PhysicalFileProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ public IDirectoryContents GetDirectoryContents(string subpath)
340340

341341
/// <summary>
342342
/// <para>Creates a <see cref="IChangeToken" /> for the specified <paramref name="filter" />.</para>
343-
/// <para>Globbing patterns are interpreted by <seealso cref="Microsoft.Extensions.FileSystemGlobbing.Matcher" />.</para>
343+
/// <para>Globbing patterns are interpreted by <see cref="Microsoft.Extensions.FileSystemGlobbing.Matcher" />.</para>
344344
/// </summary>
345345
/// <param name="filter">
346346
/// Filter string used to determine what files or folders to monitor. Example: **/*.cs, *.*,
@@ -350,7 +350,7 @@ public IDirectoryContents GetDirectoryContents(string subpath)
350350
/// An <see cref="IChangeToken" /> that is notified when a file matching <paramref name="filter" /> is added,
351351
/// modified, or deleted. Returns a <see cref="NullChangeToken" /> if <paramref name="filter" /> has invalid filter
352352
/// characters or if <paramref name="filter" /> is an absolute path or outside the root directory specified in the
353-
/// constructor <seealso cref="PhysicalFileProvider(string)" />.
353+
/// constructor <see cref="PhysicalFileProvider(string)" />.
354354
/// </returns>
355355
public IChangeToken Watch(string filter)
356356
{

src/libraries/System.Linq.AsyncEnumerable/src/System/Linq/AllAsync.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ public static partial class AsyncEnumerable
1616
/// <param name="predicate">A function to test each element for a condition.</param>
1717
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
1818
/// <returns>
19-
/// true if every element of the source sequence passes the test in the specified predicate,
20-
/// or if the sequence is empty; otherwise, false.
19+
/// <see langword="true"/> if every element of the source sequence passes the test in the specified predicate,
20+
/// or if the sequence is empty; otherwise, <see langword="false"/>.
2121
/// </returns>
2222
/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception>
2323
/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception>
@@ -53,8 +53,8 @@ static async ValueTask<bool> Impl(
5353
/// <param name="predicate">A function to test each element for a condition.</param>
5454
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
5555
/// <returns>
56-
/// true if every element of the source sequence passes the test in the specified predicate,
57-
/// or if the sequence is empty; otherwise, false.
56+
/// <see langword="true"/> if every element of the source sequence passes the test in the specified predicate,
57+
/// or if the sequence is empty; otherwise, <see langword="false"/>.
5858
/// </returns>
5959
/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception>
6060
/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception>

src/libraries/System.Linq.AsyncEnumerable/src/System/Linq/AnyAsync.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public static partial class AsyncEnumerable
1414
/// <typeparam name="TSource">The type of the elements of source.</typeparam>
1515
/// <param name="source">The <see cref="IAsyncEnumerable{T}"/> to check for emptiness.</param>
1616
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
17-
/// <returns>true if the source sequence contains any elements; otherwise, false.</returns>
17+
/// <returns><see langword="true"/> if the source sequence contains any elements; otherwise, <see langword="false"/>.</returns>
1818
/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception>
1919
public static ValueTask<bool> AnyAsync<TSource>(
2020
this IAsyncEnumerable<TSource> source,
@@ -46,8 +46,8 @@ static async ValueTask<bool> Impl(
4646
/// <param name="predicate">A function to test each element for a condition.</param>
4747
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
4848
/// <returns>
49-
/// true if the source sequence is not empty and at least one of its elements passes
50-
/// the test in the specified predicate; otherwise, false.
49+
/// <see langword="true"/> if the source sequence is not empty and at least one of its elements passes
50+
/// the test in the specified predicate; otherwise, <see langword="false"/>.
5151
/// </returns>
5252
/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception>
5353
/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception>
@@ -83,8 +83,8 @@ static async ValueTask<bool> Impl(
8383
/// <param name="predicate">A function to test each element for a condition.</param>
8484
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
8585
/// <returns>
86-
/// true if the source sequence is not empty and at least one of its elements passes
87-
/// the test in the specified predicate; otherwise, false.
86+
/// <see langword="true"/> if the source sequence is not empty and at least one of its elements passes
87+
/// the test in the specified predicate; otherwise, <see langword="false"/>.
8888
/// </returns>
8989
/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception>
9090
/// <exception cref="ArgumentNullException"><paramref name="predicate"/> is <see langword="null"/>.</exception>

src/libraries/System.Linq.AsyncEnumerable/src/System/Linq/ContainsAsync.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static partial class AsyncEnumerable
1616
/// <param name="value">The value to locate in the sequence.</param>
1717
/// <param name="comparer">An equality comparer to compare values.</param>
1818
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
19-
/// <returns>true if the source sequence contains an element that has the specified value; otherwise, false.</returns>
19+
/// <returns><see langword="true"/> if the source sequence contains an element that has the specified value; otherwise, <see langword="false"/>.</returns>
2020
/// <exception cref="ArgumentNullException"><paramref name="source"/> is <see langword="null"/>.</exception>
2121
public static ValueTask<bool> ContainsAsync<TSource>(
2222
this IAsyncEnumerable<TSource> source,

src/libraries/System.Linq.AsyncEnumerable/src/System/Linq/SequenceEqualAsync.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ public static partial class AsyncEnumerable
1616
/// <param name="comparer">An <see cref="IEqualityComparer{T}"/> to use to compare elements.</param>
1717
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
1818
/// <returns>
19-
/// true if the two source sequences are of equal length and their corresponding
20-
/// elements compare equal according to comparer; otherwise, false.
19+
/// <see langword="true"/> if the two source sequences are of equal length and their corresponding
20+
/// elements compare equal according to comparer; otherwise, <see langword="false"/>.
2121
/// </returns>
2222
public static ValueTask<bool> SequenceEqualAsync<TSource>(
2323
this IAsyncEnumerable<TSource> first,

0 commit comments

Comments
 (0)