6 references to MinimumDateTimeParseLength
System.Text.Json (6)
System\Text\Json\JsonHelpers.Date.cs (2)
32
return IsInRangeInclusive(length, JsonConstants.
MinimumDateTimeParseLength
, JsonConstants.MaximumEscapedDateTimeOffsetParseLength);
38
return IsInRangeInclusive(length, JsonConstants.
MinimumDateTimeParseLength
, JsonConstants.MaximumDateTimeOffsetParseLength);
System\Text\Json\Reader\Utf8JsonReader.TryGet.cs (4)
1251
if (!JsonHelpers.IsInRangeInclusive(sequenceLength, JsonConstants.
MinimumDateTimeParseLength
, JsonConstants.MaximumEscapedDateTimeOffsetParseLength))
1263
if (!JsonHelpers.IsInRangeInclusive(ValueSpan.Length, JsonConstants.
MinimumDateTimeParseLength
, JsonConstants.MaximumEscapedDateTimeOffsetParseLength))
1316
if (!JsonHelpers.IsInRangeInclusive(sequenceLength, JsonConstants.
MinimumDateTimeParseLength
, JsonConstants.MaximumEscapedDateTimeOffsetParseLength))
1328
if (!JsonHelpers.IsInRangeInclusive(ValueSpan.Length, JsonConstants.
MinimumDateTimeParseLength
, JsonConstants.MaximumEscapedDateTimeOffsetParseLength))