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

◆ ParseUInt32()

static uint System.Number.ParseUInt32 ( ReadOnlySpan< char > value,
NumberStyles styles,
NumberFormatInfo info )
inlinestaticpackage

Definition at line 4019 of file Number.cs.

4020 {
4021 uint result;
4022 ParsingStatus parsingStatus = TryParseUInt32(value, styles, info, out result);
4023 if (parsingStatus != 0)
4024 {
4025 ThrowOverflowOrFormatException(parsingStatus, TypeCode.UInt32);
4026 }
4027 return result;
4028 }
static void ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type=TypeCode.Empty)
Definition Number.cs:5918
static ParsingStatus TryParseUInt32(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, out uint result)
Definition Number.cs:4735

References System.info, System.Number.ThrowOverflowOrFormatException(), System.Number.TryParseUInt32(), and System.value.

Referenced by System.UInt32.Parse(), System.UInt32.Parse(), System.UInt32.Parse(), System.UInt32.Parse(), and System.UInt32.Parse().