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

◆ IsPunctuation() [2/2]

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

Definition at line 527 of file Char.cs.

528 {
529 if (s == null)
530 {
531 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
532 }
533 if ((uint)index >= (uint)s.Length)
534 {
535 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
536 }
537 char c = s[index];
538 if (IsLatin1(c))
539 {
541 }
543 }
static UnicodeCategory GetUnicodeCategoryInternal(string value, int index)
static bool CheckPunctuation(UnicodeCategory uc)
Definition Char.cs:247
static bool IsLatin1(char c)
Definition Char.cs:69
static UnicodeCategory GetLatin1UnicodeCategory(char c)
Definition Char.cs:79

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