2 writes to _storage
System.Data.Common (2)
System\Data\DataColumn.cs (2)
1117_storage = null; // empty out storage for reuse. 1744_storage ??= DataStorage.CreateStorage(this, _dataType, _storageType);
48 references to _storage
System.Data.Common (48)
System\Data\DataColumn.cs (48)
651if (_storage != null) 653_defaultValue = _storage._nullValue; 847internal bool HasData => _storage != null; 859Debug.Assert(null != _storage, "no storage"); 860return _storage._isCloneable; 868Debug.Assert(null != _storage, "no storage"); 869return _storage._isStringType; 877Debug.Assert(null != _storage, "no storage"); 878return _storage._isValueType; 1131Debug.Assert(null != _storage, "null storage"); 1132return _storage.Get(record); 1139Debug.Assert(null != _storage, "no storage"); 1141_storage.Set(record, value); 1152if (!_storage.IsNull(record)) 1154AutoInc.SetCurrentAndIncrement(_storage.Get(record)); 1172Debug.Assert(null != _storage, "no storage"); 1173_storage.Set(record, DefaultValue); 1183Debug.Assert(null != _storage, "no storage"); 1184_storage.Set(record, value); 1201Debug.Assert(null != _storage, "no storage"); 1202_storage.Set(record, _storage._nullValue); 1407if (_storage == null) 1414if (_sortIndex.IsKeyInIndex(_storage._nullValue)) 1452Debug.Assert(null != _storage, "no storage"); 1453if (_storage.IsNull(row.GetDefaultRecord())) 1472Debug.Assert(null != _storage, "null storage"); 1473return _storage.Compare(record1, record2); 1485Type rightType = _storage!.Get(record1).GetType(); 1489return (string)_storage.Get(record1) == (string)value; 1503Debug.Assert(null != _storage, "null storage"); 1504return _storage.CompareValueTo(record1, value); 1509Debug.Assert(null != _storage, "null storage"); 1510return _storage.ConvertValue(value); 1515Debug.Assert(null != _storage, "null storage"); 1516_storage.Copy(srcRecordNo, dstRecordNo); 1583if (_storage == null) 1587return _storage.Aggregate(records, kind); 1592Debug.Assert(null != _storage, "no storage"); 1593return _storage.GetStringLength(record); 1602Debug.Assert(null != _storage, "no storage"); 1603_storage.Set(record, value); 1625internal bool IsCustomType => _storage != null ? 1626_storage._isCustomDefinedType : 1637Debug.Assert(null != _storage, "no storage"); 1638return _storage.IsNull(record); 1796Debug.Assert(null != _storage, "no storage"); 1797_storage.CopyValueInternal(record, store, nullbits, storeIndex);