Skip to content

Commit

Permalink
Fix Char.IsAsciiLetterUpper comments (#94740)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyoxZ committed Nov 15, 2023
1 parent 3149739 commit 667102e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libraries/System.Private.CoreLib/src/System/Char.cs
Expand Up @@ -253,9 +253,9 @@ internal static bool TryParse(ReadOnlySpan<char> s, out char result)

/// <summary>Indicates whether a character is categorized as an uppercase ASCII letter.</summary>
/// <param name="c">The character to evaluate.</param>
/// <returns>true if <paramref name="c"/> is a uppercase ASCII letter; otherwise, false.</returns>
/// <returns>true if <paramref name="c"/> is an uppercase ASCII letter; otherwise, false.</returns>
/// <remarks>
/// This determines whether the character is in the range 'a' through 'z', inclusive.
/// This determines whether the character is in the range 'A' through 'Z', inclusive.
/// </remarks>
public static bool IsAsciiLetterUpper(char c) => IsBetween(c, 'A', 'Z');

Expand Down

0 comments on commit 667102e

Please sign in to comment.