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