7 references to MaximumFloatingPointConstantLength
System.Text.Json (7)
System\Text\Json\Serialization\Converters\Value\HalfConverter.cs (4)
15private const int MaxUnescapedFormatLength = JsonConstants.MaximumFloatingPointConstantLength * JsonConstants.MaxExpansionFactorWhileEscaping; 177if (reader.ValueLength > JsonConstants.MaximumFloatingPointConstantLength) 183buffer = stackalloc byte[JsonConstants.MaximumFloatingPointConstantLength]; 188if (written > JsonConstants.MaximumFloatingPointConstantLength)
System\Text\Json\Serialization\Converters\Value\Ieee754FloatingPointConverter.cs (3)
25private const int MaxEscapedNamedLiteralLength = JsonConstants.MaximumFloatingPointConstantLength * JsonConstants.MaxExpansionFactorWhileEscaping; 221if (reader.ValueLength > JsonConstants.MaximumFloatingPointConstantLength) 227buffer = stackalloc byte[JsonConstants.MaximumFloatingPointConstantLength];