18 references to ConvertFailed
System.Data.Common (18)
System\Data\Common\BigIntegerStorage.cs (2)
74
else { throw ExceptionBuilder.
ConvertFailed
(value.GetType(), typeof(System.Numerics.BigInteger)); }
92
else { throw ExceptionBuilder.
ConvertFailed
(typeof(System.Numerics.BigInteger), type); }
System\Data\Common\SQLConvert.cs (16)
26
_ => throw ExceptionBuilder.
ConvertFailed
(valueType, typeof(SqlByte)),
45
_ => throw ExceptionBuilder.
ConvertFailed
(valueType, typeof(SqlInt16)),
68
_ => throw ExceptionBuilder.
ConvertFailed
(valueType, typeof(SqlInt32)),
93
_ => throw ExceptionBuilder.
ConvertFailed
(valueType, typeof(SqlInt64)),
126
_ => throw ExceptionBuilder.
ConvertFailed
(valueType, typeof(SqlDouble)),
156
_ => throw ExceptionBuilder.
ConvertFailed
(valueType, typeof(SqlDecimal)),
187
_ => throw ExceptionBuilder.
ConvertFailed
(valueType, typeof(SqlSingle)),
216
_ => throw ExceptionBuilder.
ConvertFailed
(valueType, typeof(SqlMoney)),
235
_ => throw ExceptionBuilder.
ConvertFailed
(valueType, typeof(SqlDateTime)),
253
_ => throw ExceptionBuilder.
ConvertFailed
(valueType, typeof(SqlBoolean)),
271
_ => throw ExceptionBuilder.
ConvertFailed
(valueType, typeof(SqlGuid)),
289
_ => throw ExceptionBuilder.
ConvertFailed
(valueType, typeof(SqlBinary)),
307
_ => throw ExceptionBuilder.
ConvertFailed
(valueType, typeof(SqlString)),
323
_ => throw ExceptionBuilder.
ConvertFailed
(valueType, typeof(SqlChars)),
339
_ => throw ExceptionBuilder.
ConvertFailed
(valueType, typeof(SqlBytes)),
429
throw ExceptionBuilder.
ConvertFailed
(valueType, type);