18 references to ConvertFailed
System.Data (18)
fx\src\data\System\Data\Common\BigIntegerStorage.cs (2)
71else { throw ExceptionBuilder.ConvertFailed(value.GetType(), typeof(System.Numerics.BigInteger)); } 88else { throw ExceptionBuilder.ConvertFailed(typeof(System.Numerics.BigInteger), type); }
fx\src\data\System\Data\Common\SQLConvert.cs (16)
32throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlByte)); 53throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlInt16)); 81throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlInt32)); 114throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlInt64)); 162throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlDouble)); 204throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlDecimal)); 248throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlSingle)); 288throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlMoney)); 307throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlDateTime)); 325throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlBoolean)); 343throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlGuid)); 361throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlBinary)); 379throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlString)); 394throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlChars)); 409throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlBytes)); 491throw ExceptionBuilder.ConvertFailed(valueType, type);