2 writes to _storage
System.Data.Common (2)
System\Data\DataColumn.cs (2)
1117_storage = null; // empty out storage for reuse. 1736_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)); 1169Debug.Assert(null != _storage, "no storage"); 1170_storage.Set(record, DefaultValue); 1180Debug.Assert(null != _storage, "no storage"); 1181_storage.Set(record, value); 1196Debug.Assert(null != _storage, "no storage"); 1197_storage.Set(record, _storage._nullValue); 1399if (_storage == null) 1406if (_sortIndex.IsKeyInIndex(_storage._nullValue)) 1444Debug.Assert(null != _storage, "no storage"); 1445if (_storage.IsNull(row.GetDefaultRecord())) 1464Debug.Assert(null != _storage, "null storage"); 1465return _storage.Compare(record1, record2); 1477Type rightType = _storage!.Get(record1).GetType(); 1481return (string)_storage.Get(record1) == (string)value; 1495Debug.Assert(null != _storage, "null storage"); 1496return _storage.CompareValueTo(record1, value); 1501Debug.Assert(null != _storage, "null storage"); 1502return _storage.ConvertValue(value); 1507Debug.Assert(null != _storage, "null storage"); 1508_storage.Copy(srcRecordNo, dstRecordNo); 1575if (_storage == null) 1579return _storage.Aggregate(records, kind); 1584Debug.Assert(null != _storage, "no storage"); 1585return _storage.GetStringLength(record); 1594Debug.Assert(null != _storage, "no storage"); 1595_storage.Set(record, value); 1617internal bool IsCustomType => _storage != null ? 1618_storage._isCustomDefinedType : 1629Debug.Assert(null != _storage, "no storage"); 1630return _storage.IsNull(record); 1788Debug.Assert(null != _storage, "no storage"); 1789_storage.CopyValueInternal(record, store, nullbits, storeIndex);