43 references to NumericType
System.Text.Json (43)
System\Text\Json\Reader\Utf8JsonReader.TryGet.cs (24)
314
ThrowHelper.ThrowFormatException(
NumericType
.Byte);
324
ThrowHelper.ThrowFormatException(
NumericType
.Byte);
349
ThrowHelper.ThrowFormatException(
NumericType
.SByte);
359
ThrowHelper.ThrowFormatException(
NumericType
.SByte);
383
ThrowHelper.ThrowFormatException(
NumericType
.Int16);
393
ThrowHelper.ThrowFormatException(
NumericType
.Int16);
417
ThrowHelper.ThrowFormatException(
NumericType
.Int32);
427
ThrowHelper.ThrowFormatException(
NumericType
.Int32);
451
ThrowHelper.ThrowFormatException(
NumericType
.Int64);
461
ThrowHelper.ThrowFormatException(
NumericType
.Int64);
486
ThrowHelper.ThrowFormatException(
NumericType
.UInt16);
496
ThrowHelper.ThrowFormatException(
NumericType
.UInt16);
521
ThrowHelper.ThrowFormatException(
NumericType
.UInt32);
531
ThrowHelper.ThrowFormatException(
NumericType
.UInt32);
556
ThrowHelper.ThrowFormatException(
NumericType
.UInt64);
566
ThrowHelper.ThrowFormatException(
NumericType
.UInt64);
589
ThrowHelper.ThrowFormatException(
NumericType
.Single);
610
ThrowHelper.ThrowFormatException(
NumericType
.Single);
622
ThrowHelper.ThrowFormatException(
NumericType
.Single);
646
ThrowHelper.ThrowFormatException(
NumericType
.Double);
667
ThrowHelper.ThrowFormatException(
NumericType
.Double);
679
ThrowHelper.ThrowFormatException(
NumericType
.Double);
703
ThrowHelper.ThrowFormatException(
NumericType
.Decimal);
713
ThrowHelper.ThrowFormatException(
NumericType
.Decimal);
System\Text\Json\Serialization\Converters\Value\HalfConverter.cs (2)
58
ThrowHelper.ThrowFormatException(
NumericType
.Half);
102
ThrowHelper.ThrowFormatException(
NumericType
.Half);
System\Text\Json\Serialization\Converters\Value\Int128Converter.cs (1)
48
ThrowHelper.ThrowFormatException(
NumericType
.Int128);
System\Text\Json\Serialization\Converters\Value\UInt128Converter.cs (1)
48
ThrowHelper.ThrowFormatException(
NumericType
.UInt128);
System\Text\Json\ThrowHelper.cs (15)
633
public static void ThrowFormatException(
NumericType
numericType)
639
case
NumericType
.Byte:
642
case
NumericType
.SByte:
645
case
NumericType
.Int16:
648
case
NumericType
.Int32:
651
case
NumericType
.Int64:
654
case
NumericType
.Int128:
657
case
NumericType
.UInt16:
660
case
NumericType
.UInt32:
663
case
NumericType
.UInt64:
666
case
NumericType
.UInt128:
669
case
NumericType
.Half:
672
case
NumericType
.Single:
675
case
NumericType
.Double:
678
case
NumericType
.Decimal: