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

◆ Parse() [12/13]

static byte System.Byte.Parse ( string s,
NumberStyles style,
IFormatProvider? provider )
inlinestatic

Definition at line 103 of file Byte.cs.

104 {
106 if (s == null)
107 {
108 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
109 }
110 return Parse((ReadOnlySpan<char>)s, style, NumberFormatInfo.GetInstance(provider));
111 }
static void ValidateParseStyleInteger(NumberStyles style)
static NumberFormatInfo GetInstance(IFormatProvider? formatProvider)
static byte Parse(string s)
Definition Byte.cs:75

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