10 references to IsInRangeInclusive
System.Text.Json (10)
System\Text\Json\JsonHelpers.Date.cs (2)
32return IsInRangeInclusive(length, JsonConstants.MinimumDateTimeParseLength, JsonConstants.MaximumEscapedDateTimeOffsetParseLength); 38return IsInRangeInclusive(length, JsonConstants.MinimumDateTimeParseLength, JsonConstants.MaximumDateTimeOffsetParseLength);
System\Text\Json\Reader\Utf8JsonReader.cs (1)
1597JsonHelpers.IsInRangeInclusive(nextByte, '0', '9') ? ExceptionResource.InvalidLeadingZeroInNumber : ExceptionResource.ExpectedEndOfDigitNotFound,
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (1)
1348JsonHelpers.IsInRangeInclusive(nextByte, '0', '9') ? ExceptionResource.InvalidLeadingZeroInNumber : ExceptionResource.ExpectedEndOfDigitNotFound,
System\Text\Json\Serialization\Converters\Value\CharConverter.cs (1)
20if (!JsonHelpers.IsInRangeInclusive(reader.ValueLength, 1, MaxEscapedCharacterLength))
System\Text\Json\Serialization\Converters\Value\DateOnlyConverter.cs (1)
33if (!JsonHelpers.IsInRangeInclusive(reader.ValueLength, FormatLength, MaxEscapedFormatLength))
System\Text\Json\Serialization\Converters\Value\TimeOnlyConverter.cs (1)
37if (!JsonHelpers.IsInRangeInclusive(reader.ValueLength, MinimumTimeOnlyFormatLength, MaximumEscapedTimeOnlyFormatLength))
System\Text\Json\Serialization\Converters\Value\TimeSpanConverter.cs (1)
37if (!JsonHelpers.IsInRangeInclusive(reader.ValueLength, MinimumTimeSpanFormatLength, MaximumEscapedTimeSpanFormatLength))
System\Text\Json\Serialization\Converters\Value\VersionConverter.cs (1)
40if (!JsonHelpers.IsInRangeInclusive(reader.ValueLength, MinimumVersionLength, MaximumEscapedVersionLength))
System\Text\Json\Serialization\JsonSerializer.Helpers.cs (1)
83JsonHelpers.IsInRangeInclusive((int)handling, 0,