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

◆ Parse() [3/9]

static char INumber< char >. System.Char.Parse ( ReadOnlySpan< char > s,
NumberStyles style,
IFormatProvider provider )
inlinestatic

Definition at line 1279 of file Char.cs.

1280 {
1281 if (s.Length != 1)
1282 {
1283 throw new FormatException(SR.Format_NeedSingleChar);
1284 }
1285 return s[0];
1286 }

References System.SR.Format_NeedSingleChar, and System.s.