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

◆ Parse() [12/13]

static short System.Int16.Parse ( string s,
NumberStyles style,
IFormatProvider? provider )
inlinestatic

Definition at line 131 of file Int16.cs.

132 {
134 if (s == null)
135 {
136 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
137 }
138 return Parse((ReadOnlySpan<char>)s, style, NumberFormatInfo.GetInstance(provider));
139 }
static void ValidateParseStyleInteger(NumberStyles style)
static NumberFormatInfo GetInstance(IFormatProvider? formatProvider)
static short Parse(string s)
Definition Int16.cs:103

References System.Globalization.NumberFormatInfo.GetInstance(), System.Int16.Parse(), System.s, System.ThrowHelper.ThrowArgumentNullException(), and System.Globalization.NumberFormatInfo.ValidateParseStyleInteger().