Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsSymbol() [2/2]

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

Definition at line 618 of file Char.cs.

619 {
620 if (s == null)
621 {
622 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
623 }
624 if ((uint)index >= (uint)s.Length)
625 {
626 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
627 }
628 char c = s[index];
629 if (IsLatin1(c))
630 {
632 }
634 }
static UnicodeCategory GetUnicodeCategoryInternal(string value, int index)
static bool CheckSymbol(UnicodeCategory uc)
Definition Char.cs:604
static bool IsLatin1(char c)
Definition Char.cs:69
static UnicodeCategory GetLatin1UnicodeCategory(char c)
Definition Char.cs:79

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