11 references to MaximumEscapedDateTimeOffsetParseLength
System.Text.Json (11)
System\Text\Json\JsonHelpers.Date.cs (1)
32
return IsInRangeInclusive(length, JsonConstants.MinimumDateTimeParseLength, JsonConstants.
MaximumEscapedDateTimeOffsetParseLength
);
System\Text\Json\Reader\JsonReaderHelper.cs (4)
84
Debug.Assert(source.Length <= JsonConstants.
MaximumEscapedDateTimeOffsetParseLength
);
85
Span<byte> sourceUnescaped = stackalloc byte[JsonConstants.
MaximumEscapedDateTimeOffsetParseLength
];
106
Debug.Assert(source.Length <= JsonConstants.
MaximumEscapedDateTimeOffsetParseLength
);
107
Span<byte> sourceUnescaped = stackalloc byte[JsonConstants.
MaximumEscapedDateTimeOffsetParseLength
];
System\Text\Json\Reader\Utf8JsonReader.TryGet.cs (6)
1251
if (!JsonHelpers.IsInRangeInclusive(sequenceLength, JsonConstants.MinimumDateTimeParseLength, JsonConstants.
MaximumEscapedDateTimeOffsetParseLength
))
1257
Span<byte> stackSpan = stackalloc byte[JsonConstants.
MaximumEscapedDateTimeOffsetParseLength
];
1263
if (!JsonHelpers.IsInRangeInclusive(ValueSpan.Length, JsonConstants.MinimumDateTimeParseLength, JsonConstants.
MaximumEscapedDateTimeOffsetParseLength
))
1316
if (!JsonHelpers.IsInRangeInclusive(sequenceLength, JsonConstants.MinimumDateTimeParseLength, JsonConstants.
MaximumEscapedDateTimeOffsetParseLength
))
1322
Span<byte> stackSpan = stackalloc byte[JsonConstants.
MaximumEscapedDateTimeOffsetParseLength
];
1328
if (!JsonHelpers.IsInRangeInclusive(ValueSpan.Length, JsonConstants.MinimumDateTimeParseLength, JsonConstants.
MaximumEscapedDateTimeOffsetParseLength
))