7 references to FormatLength
System.Text.Json (7)
System\Text\Json\Serialization\Converters\Value\DateOnlyConverter.cs (7)
13public const int MaxEscapedFormatLength = FormatLength * JsonConstants.MaxExpansionFactorWhileEscaping; 33if (!JsonHelpers.IsInRangeInclusive(reader.ValueLength, FormatLength, MaxEscapedFormatLength)) 49if (bytesWritten < FormatLength) 67Span<byte> buffer = stackalloc byte[FormatLength]; 69Debug.Assert(formattedSuccessfully && charsWritten == FormatLength); 75Span<byte> buffer = stackalloc byte[FormatLength]; 77Debug.Assert(formattedSuccessfully && charsWritten == FormatLength);