Skip to content

Commit 557c45e

Browse files
authored
fix broken docs (#108094)
1 parent bbe61b9 commit 557c45e

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/Logging/MessageContainer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ internal static MessageContainer CreateErrorMessage(MessageOrigin? origin, Diagn
9090
/// <param name="text">Humanly readable message describing the warning</param>
9191
/// <param name="code">Unique warning ID. Please see https://github.com/dotnet/runtime/blob/main/docs/tools/illink/error-codes.md
9292
/// for the list of warnings and possibly add a new one</param>
93-
/// /// <param name="origin">Filename or member where the warning is coming from</param>
93+
/// <param name="origin">Filename or member where the warning is coming from</param>
9494
/// <param name="subcategory">Optionally, further categorize this warning</param>
9595
/// <param name="version">Optional warning version number. Versioned warnings can be controlled with the
9696
/// warning wave option --warn VERSION. Unversioned warnings are unaffected by this option. </param>

src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunMethod.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public class RuntimeFunction
110110
/// <summary>
111111
/// The size of the code block in bytes
112112
/// </summary>
113-
/// /// <remarks>
113+
/// <remarks>
114114
/// The EndAddress field in the runtime functions section is conditional on machine type
115115
/// Size is -1 for images without the EndAddress field
116116
/// </remarks>

src/libraries/System.IO.FileSystem.Watcher/tests/Utility/FileSystemWatcherTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ public static void ExpectNoError(FileSystemWatcher watcher, Action action, Actio
382382
Assert.False(TryErrorEvent(watcher, action, cleanup, attempts, expected: true), message);
383383
}
384384

385-
/// /// <summary>
385+
/// <summary>
386386
/// Helper method for the ExpectError/ExpectNoError functions.
387387
/// </summary>
388388
/// <param name="watcher">The FileSystemWatcher to test</param>

src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3124,7 +3124,7 @@ public static int BinarySearch<T, TComparable>(
31243124
/// <param name="span">The sorted <see cref="Span{T}"/> to search.</param>
31253125
/// <param name="value">The object to locate. The value can be null for reference types.</param>
31263126
/// <param name="comparer">The <typeparamref name="TComparer"/> to use when comparing.</param>
3127-
/// /// <returns>
3127+
/// <returns>
31283128
/// The zero-based index of <paramref name="value"/> in the sorted <paramref name="span"/>,
31293129
/// if <paramref name="value"/> is found; otherwise, a negative number that is the bitwise complement
31303130
/// of the index of the next element that is larger than <paramref name="value"/> or, if there is
@@ -3198,7 +3198,7 @@ public static int BinarySearch<T, TComparable>(
31983198
/// <param name="span">The sorted <see cref="ReadOnlySpan{T}"/> to search.</param>
31993199
/// <param name="value">The object to locate. The value can be null for reference types.</param>
32003200
/// <param name="comparer">The <typeparamref name="TComparer"/> to use when comparing.</param>
3201-
/// /// <returns>
3201+
/// <returns>
32023202
/// The zero-based index of <paramref name="value"/> in the sorted <paramref name="span"/>,
32033203
/// if <paramref name="value"/> is found; otherwise, a negative number that is the bitwise complement
32043204
/// of the index of the next element that is larger than <paramref name="value"/> or, if there is

src/libraries/System.Private.CoreLib/src/System/SearchValues/SearchValues.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public static SearchValues<byte> Create(params ReadOnlySpan<byte> values)
7272
/// Creates an optimized representation of <paramref name="values"/> used for efficient searching.
7373
/// </summary>
7474
/// <param name="values">The set of values.</param>
75-
/// /// <returns>The optimized representation of <paramref name="values"/> used for efficient searching.</returns>
75+
/// <returns>The optimized representation of <paramref name="values"/> used for efficient searching.</returns>
7676
public static SearchValues<char> Create(params ReadOnlySpan<char> values)
7777
{
7878
if (values.IsEmpty)

src/libraries/System.Private.Xml/src/System/Xml/Xsl/XmlQueryCardinality.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ private bool IsSubset(XmlQueryCardinality other) {
183183

184184
/// <summary>
185185
/// Returns true is right is subset of left.
186-
/// /// </summary>
186+
/// </summary>
187187
public static bool operator >=(XmlQueryCardinality left, XmlQueryCardinality right)
188188
{
189189
return (right._value & ~left._value) == 0;

src/libraries/System.ServiceProcess.ServiceController/src/System/ServiceProcess/ServiceController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ public static ServiceController[] GetServices()
709709

710710
/// <summary>
711711
/// Gets the services (not including device-driver services) on the given machine name.
712-
/// /// </summary>
712+
/// </summary>
713713
/// <param name="machineName">Name of the machine</param>
714714
/// <returns></returns>
715715
public static ServiceController[] GetServices(string machineName)

src/tools/illink/src/linker/Linker/MessageContainer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public static MessageContainer CreateCustomErrorMessage (string text, int code,
100100
/// <param name="text">Humanly readable message describing the warning</param>
101101
/// <param name="code">Unique warning ID. Please see https://github.com/dotnet/runtime/blob/main/docs/tools/illink/error-codes.md
102102
/// for the list of warnings and possibly add a new one</param>
103-
/// /// <param name="origin">Filename or member where the warning is coming from</param>
103+
/// <param name="origin">Filename or member where the warning is coming from</param>
104104
/// <param name="subcategory">Optionally, further categorize this warning</param>
105105
/// <param name="version">Optional warning version number. Versioned warnings can be controlled with the
106106
/// warning wave option --warn VERSION. Unversioned warnings are unaffected by this option. </param>

0 commit comments

Comments
 (0)