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

◆ Parse() [9/13]

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

Definition at line 122 of file Int16.cs.

123 {
124 if (s == null)
125 {
126 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
127 }
128 return Parse((ReadOnlySpan<char>)s, NumberStyles.Integer, NumberFormatInfo.GetInstance(provider));
129 }
static NumberFormatInfo GetInstance(IFormatProvider? formatProvider)
static short Parse(string s)
Definition Int16.cs:103

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