18 references to ConvertFailed
System.Data.Common (18)
System\Data\Common\BigIntegerStorage.cs (2)
74else { throw ExceptionBuilder.ConvertFailed(value.GetType(), typeof(System.Numerics.BigInteger)); } 92else { 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)), 429throw ExceptionBuilder.ConvertFailed(valueType, type);