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)
459
return
InvalidCast
(SR.GetString(SR.ADP_CollectionInvalidType, collection.Name, itemType.Name, invalidValue.GetType().Name));
525
return
InvalidCast
(SR.GetString(SR.ADP_NumericToDecimalOverflow));