28 references to ThrowFormatException
System.Text.Json (28)
System\Text\Json\Reader\Utf8JsonReader.TryGet.cs (24)
314ThrowHelper.ThrowFormatException(NumericType.Byte); 324ThrowHelper.ThrowFormatException(NumericType.Byte); 349ThrowHelper.ThrowFormatException(NumericType.SByte); 359ThrowHelper.ThrowFormatException(NumericType.SByte); 383ThrowHelper.ThrowFormatException(NumericType.Int16); 393ThrowHelper.ThrowFormatException(NumericType.Int16); 417ThrowHelper.ThrowFormatException(NumericType.Int32); 427ThrowHelper.ThrowFormatException(NumericType.Int32); 451ThrowHelper.ThrowFormatException(NumericType.Int64); 461ThrowHelper.ThrowFormatException(NumericType.Int64); 486ThrowHelper.ThrowFormatException(NumericType.UInt16); 496ThrowHelper.ThrowFormatException(NumericType.UInt16); 521ThrowHelper.ThrowFormatException(NumericType.UInt32); 531ThrowHelper.ThrowFormatException(NumericType.UInt32); 556ThrowHelper.ThrowFormatException(NumericType.UInt64); 566ThrowHelper.ThrowFormatException(NumericType.UInt64); 589ThrowHelper.ThrowFormatException(NumericType.Single); 610ThrowHelper.ThrowFormatException(NumericType.Single); 622ThrowHelper.ThrowFormatException(NumericType.Single); 646ThrowHelper.ThrowFormatException(NumericType.Double); 667ThrowHelper.ThrowFormatException(NumericType.Double); 679ThrowHelper.ThrowFormatException(NumericType.Double); 703ThrowHelper.ThrowFormatException(NumericType.Decimal); 713ThrowHelper.ThrowFormatException(NumericType.Decimal);
System\Text\Json\Serialization\Converters\Value\HalfConverter.cs (2)
58ThrowHelper.ThrowFormatException(NumericType.Half); 102ThrowHelper.ThrowFormatException(NumericType.Half);
System\Text\Json\Serialization\Converters\Value\Int128Converter.cs (1)
48ThrowHelper.ThrowFormatException(NumericType.Int128);
System\Text\Json\Serialization\Converters\Value\UInt128Converter.cs (1)
48ThrowHelper.ThrowFormatException(NumericType.UInt128);