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