43 references to NumericType
System.Text.Json (43)
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);
System\Text\Json\ThrowHelper.cs (15)
633public static void ThrowFormatException(NumericType numericType) 639case NumericType.Byte: 642case NumericType.SByte: 645case NumericType.Int16: 648case NumericType.Int32: 651case NumericType.Int64: 654case NumericType.Int128: 657case NumericType.UInt16: 660case NumericType.UInt32: 663case NumericType.UInt64: 666case NumericType.UInt128: 669case NumericType.Half: 672case NumericType.Single: 675case NumericType.Double: 678case NumericType.Decimal: