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

◆ GetDecimalDigitValue() [2/2]

static int System.Globalization.CharUnicodeInfo.GetDecimalDigitValue ( string s,
int index )
inlinestatic

Definition at line 3732 of file CharUnicodeInfo.cs.

3733 {
3734 if (s == null)
3735 {
3736 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
3737 }
3738 if ((uint)index >= (uint)s.Length)
3739 {
3740 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
3741 }
3743 }
static int GetDecimalDigitValueInternalNoBoundsCheck(uint codePoint)
static int GetCodePointFromString(string s, int index)

References System.Globalization.CharUnicodeInfo.GetCodePointFromString(), System.Globalization.CharUnicodeInfo.GetDecimalDigitValueInternalNoBoundsCheck(), System.index, System.s, System.ThrowHelper.ThrowArgumentNullException(), and System.ThrowHelper.ThrowArgumentOutOfRangeException().