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

◆ IsSeparator() [2/2]

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

Definition at line 568 of file Char.cs.

569 {
570 if (s == null)
571 {
572 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
573 }
574 if ((uint)index >= (uint)s.Length)
575 {
576 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
577 }
578 char c = s[index];
579 if (IsLatin1(c))
580 {
581 return IsSeparatorLatin1(c);
582 }
584 }
static UnicodeCategory GetUnicodeCategoryInternal(string value, int index)
static bool IsSeparatorLatin1(char c)
Definition Char.cs:550
static bool CheckSeparator(UnicodeCategory uc)
Definition Char.cs:545
static bool IsLatin1(char c)
Definition Char.cs:69

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