You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated XML documentation in `AssemblyExtensions` to use
`<see langword="false"/>` and `<see langword="default"/>`.
Corrected return type in `DateTimeExtensions.ToDateOnly`
from `<see cref="TimeOnly"/>` to `<see cref="DateOnly"/>`.
Fixed spelling of "insensitive" in multiple methods of
`StringExtensions`, enhancing overall documentation quality.
Copy file name to clipboardExpand all lines: src/TinyHelpers/Extensions/AssemblyExtensions.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -18,10 +18,10 @@ public static class AssemblyExtensions
18
18
/// </param>
19
19
/// <param name="inherit">
20
20
/// A boolean value indicating whether to search the inheritance chain to find the attributes.
21
-
/// Defaults to <c>false</c>.
21
+
/// Defaults to <see langword="false"/>.
22
22
/// </param>
23
23
/// <returns>
24
-
/// A value of type <typeparamref name="TValue"/> extracted from the attribute using the delegate, or <c>default</c> if the attribute is not found.
24
+
/// A value of type <typeparamref name="TValue"/> extracted from the attribute using the delegate, or <see langword="default"/> if the attribute is not found.
/// Determines whether two specified <see cref="string"/> objects have the same value, performing a case-insentive comparison.
12
+
/// Determines whether two specified <see cref="string"/> objects have the same value, performing a case-insensitive comparison.
13
13
/// </summary>
14
14
/// <param name="a">The first string to compare.</param>
15
15
/// <param name="b">The second string to compare.</param>
16
-
/// <returns><see langword="true"/> if the value of <paramref name="b"/> is the same as the value of <paramref name="b"/>, regardless the casing; otherwise, <see langword="false"/>. If both <paramref name="a"/> and <paramref name="b"/> are <see langword="null"/>, the method returns <see langword="true"/>.</returns>
16
+
/// <returns><see langword="true"/> if the value of <paramref name="a"/> is the same as the value of <paramref name="b"/>, regardless the casing; otherwise, <see langword="false"/>. If both <paramref name="a"/> and <paramref name="b"/> are <see langword="null"/>, the method returns <see langword="true"/>.</returns>
/// Returns a new string in which all occurrences of a specified string in the current instance are replaced with another specified string, ignoring the letter casing.
49
49
/// </summary>
50
50
/// <param name="input">The original string.</param>
51
-
/// <param name="pattern">The string to be replaced, case insentive.</param>
51
+
/// <param name="pattern">The string to be replaced, case insensitive.</param>
52
52
/// <param name="replacement">The string to be used to replace all occurrences of <paramref name="pattern"/>.</param>
53
53
/// <returns>A string that is equivalent to the <paramref name="input"/> string except that all instances of <paramref name="pattern"/> are replaced with <paramref name="replacement"/>.</returns>
0 commit comments