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

◆ IsSurrogate() [2/2]

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

Definition at line 591 of file Char.cs.

592 {
593 if (s == null)
594 {
595 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
596 }
597 if ((uint)index >= (uint)s.Length)
598 {
599 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
600 }
601 return IsSurrogate(s[index]);
602 }
static bool IsSurrogate(char c)
Definition Char.cs:586

References System.index, System.Char.IsSurrogate(), System.s, System.ThrowHelper.ThrowArgumentNullException(), and System.ThrowHelper.ThrowArgumentOutOfRangeException().