Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros

◆ IsLower() [2/2]

static bool System.Char.IsLower ( string s,
int index )
inlinestatic

Definition at line 469 of file Char.cs.

470 {
471 if (s == null)
472 {
473 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
474 }
475 if ((uint)index >= (uint)s.Length)
476 {
477 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
478 }
479 char c = s[index];
480 if (IsLatin1(c))
481 {
482 return (Latin1CharInfo[c] & 0x20) != 0;
483 }
485 }
static UnicodeCategory GetUnicodeCategoryInternal(string value, int index)
static ReadOnlySpan< byte > Latin1CharInfo
Definition Char.cs:21
static bool IsLatin1(char c)
Definition Char.cs:69

References System.Globalization.CharUnicodeInfo.GetUnicodeCategoryInternal(), System.index, System.Char.IsLatin1(), System.Char.Latin1CharInfo, System.s, System.ThrowHelper.ThrowArgumentNullException(), and System.ThrowHelper.ThrowArgumentOutOfRangeException().