9 writes to _defaultValue
System.Data.Common (9)
System\Data\DataColumn.cs (9)
514_defaultValue = BigIntegerStorage.ConvertFromBigInteger((BigInteger)_defaultValue, value, FormatProvider); 518_defaultValue = BigIntegerStorage.ConvertToBigInteger(_defaultValue, FormatProvider); 523_defaultValue = DefaultValue.ToString()!; 528_defaultValue = SqlConvert.ConvertToSqlString(DefaultValue); 653_defaultValue = _storage._nullValue; 657_defaultValue = SqlConvert.ChangeTypeForDefaultValue(_defaultValue, _dataType, FormatProvider); 664_defaultValue = propInfo.GetValue(null, null)!; 694_defaultValue = newDefaultValue; 1537clone._defaultValue = _defaultValue;
12 references to _defaultValue
System.Data.Common (12)
System\Data\DataColumn.cs (12)
512if (_defaultValue is BigInteger) 514_defaultValue = BigIntegerStorage.ConvertFromBigInteger((BigInteger)_defaultValue, value, FormatProvider); 518_defaultValue = BigIntegerStorage.ConvertToBigInteger(_defaultValue, FormatProvider); 647Debug.Assert(_defaultValue != null, "It should not have been set to null."); 648if (_defaultValue == DBNull.Value && _implementsINullable) 657_defaultValue = SqlConvert.ChangeTypeForDefaultValue(_defaultValue, _dataType, FormatProvider); 669return _defaultValue; 674if (_defaultValue == null || !DefaultValue.Equals(value)) 1537clone._defaultValue = _defaultValue; 1538clone._defaultValueIsNull = ((_defaultValue == DBNull.Value) || (clone.ImplementsINullable && DataStorage.IsObjectSqlNull(_defaultValue))) ? true : false; 1607this[record] = _defaultValue;