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

◆ GetDoubleFloatingPointConstant()

double System.Text.Json.Utf8JsonReader.GetDoubleFloatingPointConstant ( )
inlinepackage

Definition at line 4316 of file Utf8JsonReader.cs.

4317 {
4318 ReadOnlySpan<byte> unescapedSpan = GetUnescapedSpan();
4319 if (JsonReaderHelper.TryGetFloatingPointConstant(unescapedSpan, out double value))
4320 {
4321 return value;
4322 }
4323 throw ThrowHelper.GetFormatException(NumericType.Double);
4324 }
ReadOnlySpan< byte > GetUnescapedSpan()

References System.Text.Json.Dictionary, System.Text.Json.ThrowHelper.GetFormatException(), System.Text.Json.Utf8JsonReader.GetUnescapedSpan(), System.Text.Json.JsonReaderHelper.TryGetFloatingPointConstant(), and System.value.