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

◆ ParseHalf()

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

Definition at line 5631 of file Number.cs.

5632 {
5633 if (!TryParseHalf(value, styles, info, out var result))
5634 {
5636 }
5637 return result;
5638 }
static void ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type=TypeCode.Empty)
Definition Number.cs:5918
static unsafe bool TryParseHalf(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, out Half result)
Definition Number.cs:5718

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

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