14 overrides of TargetType
System.ComponentModel.TypeConverter (14)
System\ComponentModel\ByteConverter.cs (1)
17internal override Type TargetType => typeof(byte);
System\ComponentModel\DecimalConverter.cs (1)
26internal override Type TargetType => typeof(decimal);
System\ComponentModel\DoubleConverter.cs (1)
22internal override Type TargetType => typeof(double);
System\ComponentModel\HalfConverter.cs (1)
23internal override Type TargetType => typeof(Half);
System\ComponentModel\Int128Converter.cs (1)
18internal override Type TargetType => typeof(Int128);
System\ComponentModel\Int16Converter.cs (1)
17internal override Type TargetType => typeof(short);
System\ComponentModel\Int32Converter.cs (1)
17internal override Type TargetType => typeof(int);
System\ComponentModel\Int64Converter.cs (1)
17internal override Type TargetType => typeof(long);
System\ComponentModel\SByteConverter.cs (1)
17internal override Type TargetType => typeof(sbyte);
System\ComponentModel\SingleConverter.cs (1)
22internal override Type TargetType => typeof(float);
System\ComponentModel\UInt128Converter.cs (1)
18internal override Type TargetType => typeof(UInt128);
System\ComponentModel\UInt16Converter.cs (1)
17internal override Type TargetType => typeof(ushort);
System\ComponentModel\UInt32Converter.cs (1)
17internal override Type TargetType => typeof(uint);
System\ComponentModel\UInt64Converter.cs (1)
17internal override Type TargetType => typeof(ulong);
2 references to TargetType
System.ComponentModel.TypeConverter (2)
System\ComponentModel\BaseNumberConverter.cs (2)
80throw new ArgumentException(SR.Format(SR.ConvertInvalidPrimitive, text, TargetType.Name), nameof(value), e); 94if (destinationType == typeof(string) && value != null && TargetType.IsInstanceOfType(value))