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