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)
330
Debug.Assert(null !=
_variantType
&& SqlDbType.NVarChar ==
_variantType
.SqlDbType, "Invalid variant type");
333
collation.LCID = checked((int)
_variantType
.LocaleId);
334
collation.SqlCompareOptions =
_variantType
.CompareOptions;
407
if (null ==
_variantType
) {
412
Debug.Assert(SqlDbType.Money ==
_variantType
.SqlDbType, "Invalid variant type");
482
if ((
_variantType
!= null) && (
_variantType
.SqlDbType == SqlDbType.DateTime2))
486
else if ((
_variantType
!= null) && (
_variantType
.SqlDbType == SqlDbType.Date))
596
Debug.Assert(null ==
_variantType
, "Variant type can only be set once");