7 references to PositiveInfinityValue
System.Text.Json (7)
System\Text\Json\Reader\JsonReaderHelper.cs (3)
161
if (span.SequenceEqual(JsonConstants.
PositiveInfinityValue
))
193
if (span.SequenceEqual(JsonConstants.
PositiveInfinityValue
))
224
if (span.SequenceEqual(JsonConstants.
PositiveInfinityValue
))
System\Text\Json\Serialization\Converters\Value\HalfConverter.cs (2)
154
writer.WriteNumberValueAsStringUnescaped(JsonConstants.
PositiveInfinityValue
);
174
(!Half.IsPositiveInfinity(result) || buffer.SequenceEqual(JsonConstants.
PositiveInfinityValue
)) &&
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Double.cs (1)
161
WriteNumberValueAsStringUnescaped(JsonConstants.
PositiveInfinityValue
);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Float.cs (1)
161
WriteNumberValueAsStringUnescaped(JsonConstants.
PositiveInfinityValue
);