9 references to MaximumEscapedDateTimeOffsetParseLength
System.Text.Json (9)
System\Text\Json\JsonHelpers.Date.cs (1)
32return IsInRangeInclusive(length, JsonConstants.MinimumDateTimeParseLength, JsonConstants.MaximumEscapedDateTimeOffsetParseLength);
System\Text\Json\Reader\JsonReaderHelper.cs (4)
110Debug.Assert(source.Length <= JsonConstants.MaximumEscapedDateTimeOffsetParseLength); 111Span<byte> sourceUnescaped = stackalloc byte[JsonConstants.MaximumEscapedDateTimeOffsetParseLength]; 158Debug.Assert(source.Length <= JsonConstants.MaximumEscapedDateTimeOffsetParseLength); 159Span<byte> sourceUnescaped = stackalloc byte[JsonConstants.MaximumEscapedDateTimeOffsetParseLength];
System\Text\Json\Reader\Utf8JsonReader.TryGet.cs (4)
1251if (!JsonHelpers.IsInRangeInclusive(sequenceLength, JsonConstants.MinimumDateTimeParseLength, JsonConstants.MaximumEscapedDateTimeOffsetParseLength)) 1257Span<byte> stackSpan = stackalloc byte[JsonConstants.MaximumEscapedDateTimeOffsetParseLength]; 1296if (!JsonHelpers.IsInRangeInclusive(sequenceLength, JsonConstants.MinimumDateTimeParseLength, JsonConstants.MaximumEscapedDateTimeOffsetParseLength)) 1302Span<byte> stackSpan = stackalloc byte[JsonConstants.MaximumEscapedDateTimeOffsetParseLength];