22 references to InvalidDataType
System.Data (22)
fx\src\data\System\Data\Odbc\Odbc32.cs (2)
895
case TypeCode.Empty: throw ADP.
InvalidDataType
(TypeCode.Empty);
911
case TypeCode.DBNull: throw ADP.
InvalidDataType
(TypeCode.DBNull);
fx\src\data\System\Data\OleDb\OLEDB_Enum.cs (1)
298
case TypeCode.DBNull: throw ADP.
InvalidDataType
(TypeCode.DBNull);
fx\src\data\System\Data\Sql\SqlMetaData.cs (12)
1055
case TypeCode.Empty: throw ADP.
InvalidDataType
(TypeCode.Empty);
1059
case TypeCode.SByte: throw ADP.
InvalidDataType
(TypeCode.SByte);
1062
case TypeCode.UInt16: throw ADP.
InvalidDataType
(TypeCode.UInt16);
1063
case TypeCode.UInt32: throw ADP.
InvalidDataType
(TypeCode.UInt32);
1064
case TypeCode.UInt64: throw ADP.
InvalidDataType
(TypeCode.UInt64);
1074
throw ADP.
InvalidDataType
(TypeCode.UInt64);
1136
case TypeCode.DBNull: throw ADP.
InvalidDataType
(TypeCode.DBNull);
1145
case TypeCode.Empty: throw ADP.
InvalidDataType
(TypeCode.Empty);
1149
case TypeCode.SByte: throw ADP.
InvalidDataType
(TypeCode.SByte);
1162
case TypeCode.UInt16: throw ADP.
InvalidDataType
(TypeCode.UInt16);
1163
case TypeCode.UInt32: throw ADP.
InvalidDataType
(TypeCode.UInt32);
1164
case TypeCode.UInt64: throw ADP.
InvalidDataType
(TypeCode.UInt64);
fx\src\data\System\Data\SqlClient\SqlEnums.cs (7)
286
case TypeCode.Empty: throw ADP.
InvalidDataType
(TypeCode.Empty);
368
case TypeCode.DBNull: throw ADP.
InvalidDataType
(TypeCode.DBNull);
370
case TypeCode.Char: throw ADP.
InvalidDataType
(TypeCode.Char);
371
case TypeCode.SByte: throw ADP.
InvalidDataType
(TypeCode.SByte);
374
case TypeCode.UInt16: throw ADP.
InvalidDataType
(TypeCode.UInt16);
376
case TypeCode.UInt32: throw ADP.
InvalidDataType
(TypeCode.UInt32);
378
case TypeCode.UInt64: throw ADP.
InvalidDataType
(TypeCode.UInt64);