28 references to ThrowFormatException
System.Text.Json (28)
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);