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

◆ ParseInt64()

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

Definition at line 4008 of file Number.cs.

4009 {
4010 long result;
4011 ParsingStatus parsingStatus = TryParseInt64(value, styles, info, out result);
4012 if (parsingStatus != 0)
4013 {
4014 ThrowOverflowOrFormatException(parsingStatus, TypeCode.Int64);
4015 }
4016 return result;
4017 }
static void ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type=TypeCode.Empty)
Definition Number.cs:5918
static ParsingStatus TryParseInt64(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, out long result)
Definition Number.cs:4704

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

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