50 references to InvalidCast
System.Data (50)
fx\src\data\Microsoft\SqlServer\Server\SqlDataRecord.cs (2)
373throw ADP.InvalidCast(); 397throw ADP.InvalidCast();
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (42)
67throw ADP.InvalidCast(); 79throw ADP.InvalidCast(); 87throw ADP.InvalidCast(); 178throw ADP.InvalidCast(); 196throw ADP.InvalidCast(); 209throw ADP.InvalidCast(); 230throw ADP.InvalidCast(); 242throw ADP.InvalidCast(); 254throw ADP.InvalidCast(); 266throw ADP.InvalidCast(); 278throw ADP.InvalidCast(); 290throw ADP.InvalidCast(); 302throw ADP.InvalidCast(); 316throw ADP.InvalidCast(); 330throw ADP.InvalidCast(); 344throw ADP.InvalidCast(); 371throw ADP.InvalidCast(); 419throw ADP.InvalidCast(); 449throw ADP.InvalidCast(); 470throw ADP.InvalidCast(); 492throw ADP.InvalidCast(); 514throw ADP.InvalidCast(); 536throw ADP.InvalidCast(); 558throw ADP.InvalidCast(); 579throw ADP.InvalidCast(); 600throw ADP.InvalidCast(); 622throw ADP.InvalidCast(); 654throw ADP.InvalidCast(); 675throw ADP.InvalidCast(); 690throw ADP.InvalidCast(); 699throw ADP.InvalidCast(); 711throw ADP.InvalidCast(); 729throw ADP.InvalidCast(); 756throw ADP.InvalidCast(); 781throw ADP.InvalidCast(); 1410throw ADP.InvalidCast(); 1559throw ADP.InvalidCast(); 1606case ExtendedClrTypeCode.SByte: throw ADP.InvalidCast(); 1609case ExtendedClrTypeCode.UInt16: throw ADP.InvalidCast(); 1610case ExtendedClrTypeCode.UInt32: throw ADP.InvalidCast(); 1611case ExtendedClrTypeCode.UInt64: throw ADP.InvalidCast(); 2733throw ADP.InvalidCast();
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (3)
1071throw ADP.InvalidCast(); 1145throw ADP.InvalidCast(); 1212throw ADP.InvalidCast();
fx\src\data\System\Data\OleDb\ColumnBinding.cs (1)
1476return ADP.InvalidCast(); //
fx\src\data\System\Data\OleDb\OLEDB_Util.cs (1)
223return ADP.InvalidCast();
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (1)
895throw ADP.InvalidCast();