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

◆ Parse() [13/13]

static ushort System.UInt16.Parse ( string s,
NumberStyles style,
IFormatProvider? provider )
inlinestatic

Definition at line 129 of file UInt16.cs.

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

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