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

◆ IsLetterOrDigit() [2/2]

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

Definition at line 451 of file Char.cs.

452 {
453 if (s == null)
454 {
455 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
456 }
457 if ((uint)index >= (uint)s.Length)
458 {
459 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
460 }
461 char c = s[index];
462 if (IsLatin1(c))
463 {
465 }
467 }
static UnicodeCategory GetUnicodeCategoryInternal(string value, int index)
static bool CheckLetterOrDigit(UnicodeCategory uc)
Definition Char.cs:261
static bool IsLatin1(char c)
Definition Char.cs:69
static UnicodeCategory GetLatin1UnicodeCategory(char c)
Definition Char.cs:79

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