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

◆ IsHighSurrogate() [2/2]

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

Definition at line 716 of file Char.cs.

717 {
718 if (s == null)
719 {
720 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
721 }
722 if ((uint)index >= (uint)s.Length)
723 {
724 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
725 }
726 return IsHighSurrogate(s[index]);
727 }
static bool IsHighSurrogate(char c)
Definition Char.cs:711

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