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

◆ Parse() [9/13]

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

Definition at line 120 of file UInt16.cs.

121 {
122 if (s == null)
123 {
124 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
125 }
126 return Parse((ReadOnlySpan<char>)s, NumberStyles.Integer, NumberFormatInfo.GetInstance(provider));
127 }
static NumberFormatInfo GetInstance(IFormatProvider? formatProvider)
static ushort Parse(string s)
Definition UInt16.cs:101

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