4 writes to _variantType
System.Data (4)
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (4)
358_variantType = null; 417_variantType = null; 500_variantType = null; 606_variantType = value;
11 references to _variantType
System.Data (11)
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (11)
330Debug.Assert(null != _variantType && SqlDbType.NVarChar == _variantType.SqlDbType, "Invalid variant type"); 333collation.LCID = checked((int)_variantType.LocaleId); 334collation.SqlCompareOptions = _variantType.CompareOptions; 407if (null == _variantType) { 412Debug.Assert(SqlDbType.Money == _variantType.SqlDbType, "Invalid variant type"); 482if ((_variantType != null) && (_variantType.SqlDbType == SqlDbType.DateTime2)) 486else if ((_variantType != null) && (_variantType.SqlDbType == SqlDbType.Date)) 596Debug.Assert(null == _variantType, "Variant type can only be set once");