3 references to InvalidCast
System.Data.OleDb (3)
OleDb_Util.cs (1)
264
return ADP.
InvalidCast
(SR.OleDb_CantConvertValue);
System\Data\Common\AdapterUtil.cs (2)
467
return
InvalidCast
(SR.GetString(SR.ADP_CollectionInvalidType, collection.Name, itemType.Name, invalidValue.GetType().Name));
533
return
InvalidCast
(SR.GetString(SR.ADP_NumericToDecimalOverflow));