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

◆ TryParse() [5/12]

static bool System.UInt64.TryParse ( [NotNullWhen(true)] string? s,
NumberStyles style,
IFormatProvider? provider,
out ulong result )
inlinestatic

Definition at line 176 of file UInt64.cs.

177 {
179 if (s == null)
180 {
181 result = 0uL;
182 return false;
183 }
184 return Number.TryParseUInt64(s, style, NumberFormatInfo.GetInstance(provider), out result) == Number.ParsingStatus.OK;
185 }
static void ValidateParseStyleInteger(NumberStyles style)
static NumberFormatInfo GetInstance(IFormatProvider? formatProvider)

References System.Globalization.NumberFormatInfo.GetInstance(), System.s, System.Number.TryParseUInt64(), and System.Globalization.NumberFormatInfo.ValidateParseStyleInteger().