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

◆ Parse() [1/9]

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

Definition at line 1488 of file Char.cs.

1489 {
1490 if (s.Length != 1)
1491 {
1492 throw new FormatException(SR.Format_NeedSingleChar);
1493 }
1494 return s[0];
1495 }

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