19 references to IsDigit
System.Text.Json (19)
System\Text\Json\JsonHelpers.Date.cs (1)
310
while (sourceIndex < fractionEnd &&
IsDigit
(curByte = source[sourceIndex]))
System\Text\Json\Reader\Utf8JsonReader.cs (6)
986
if (JsonHelpers.
IsDigit
(first) || first == '-')
1060
else if (JsonHelpers.
IsDigit
(marker) || marker == '-')
1556
if (!JsonHelpers.
IsDigit
(nextByte))
1610
if (!JsonHelpers.
IsDigit
(nextByte))
1649
if (!JsonHelpers.
IsDigit
(nextByte))
1687
if (!JsonHelpers.
IsDigit
(nextByte))
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (7)
358
if (JsonHelpers.
IsDigit
(first) || first == '-')
420
else if (JsonHelpers.
IsDigit
(marker) || marker == '-')
1283
if (!JsonHelpers.
IsDigit
(nextByte))
1355
if (!JsonHelpers.
IsDigit
(nextByte))
1393
if (!JsonHelpers.
IsDigit
(nextByte))
1450
if (!JsonHelpers.
IsDigit
(nextByte))
1515
if (!JsonHelpers.
IsDigit
(nextByte))
System\Text\Json\Serialization\Converters\Value\TimeOnlyConverter.cs (1)
56
if (!JsonHelpers.
IsDigit
(firstChar) || firstSeparator < 0 || source[firstSeparator] == (byte)'.')
System\Text\Json\Serialization\Converters\Value\TimeSpanConverter.cs (1)
55
if (!JsonHelpers.
IsDigit
(firstChar) && firstChar != '-')
System\Text\Json\Writer\JsonWriterHelper.cs (3)
178
while (i < utf8FormattedNumber.Length && JsonHelpers.
IsDigit
(utf8FormattedNumber[i]))
201
while (i < utf8FormattedNumber.Length && JsonHelpers.
IsDigit
(utf8FormattedNumber[i]))
243
while (i < utf8FormattedNumber.Length && JsonHelpers.
IsDigit
(utf8FormattedNumber[i]))