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

◆ ParseInt32()

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

Definition at line 3997 of file Number.cs.

3998 {
3999 int result;
4000 ParsingStatus parsingStatus = TryParseInt32(value, styles, info, out result);
4001 if (parsingStatus != 0)
4002 {
4003 ThrowOverflowOrFormatException(parsingStatus, TypeCode.Int32);
4004 }
4005 return result;
4006 }
static void ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type=TypeCode.Empty)
Definition Number.cs:5918
static ParsingStatus TryParseInt32(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, out int result)
Definition Number.cs:4251

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

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