2 writes to _storage
System.Data.Common (2)
System\Data\DataColumn.cs (2)
1116_storage = null; // empty out storage for reuse. 1743_storage ??= DataStorage.CreateStorage(this, _dataType, _storageType);
48 references to _storage
System.Data.Common (48)
System\Data\DataColumn.cs (48)
650if (_storage != null) 652_defaultValue = _storage._nullValue; 846internal bool HasData => _storage != null; 858Debug.Assert(null != _storage, "no storage"); 859return _storage._isCloneable; 867Debug.Assert(null != _storage, "no storage"); 868return _storage._isStringType; 876Debug.Assert(null != _storage, "no storage"); 877return _storage._isValueType; 1130Debug.Assert(null != _storage, "null storage"); 1131return _storage.Get(record); 1138Debug.Assert(null != _storage, "no storage"); 1140_storage.Set(record, value); 1151if (!_storage.IsNull(record)) 1153AutoInc.SetCurrentAndIncrement(_storage.Get(record)); 1171Debug.Assert(null != _storage, "no storage"); 1172_storage.Set(record, DefaultValue); 1182Debug.Assert(null != _storage, "no storage"); 1183_storage.Set(record, value); 1200Debug.Assert(null != _storage, "no storage"); 1201_storage.Set(record, _storage._nullValue); 1406if (_storage == null) 1413if (_sortIndex.IsKeyInIndex(_storage._nullValue)) 1451Debug.Assert(null != _storage, "no storage"); 1452if (_storage.IsNull(row.GetDefaultRecord())) 1471Debug.Assert(null != _storage, "null storage"); 1472return _storage.Compare(record1, record2); 1484Type rightType = _storage!.Get(record1).GetType(); 1488return (string)_storage.Get(record1) == (string)value; 1502Debug.Assert(null != _storage, "null storage"); 1503return _storage.CompareValueTo(record1, value); 1508Debug.Assert(null != _storage, "null storage"); 1509return _storage.ConvertValue(value); 1514Debug.Assert(null != _storage, "null storage"); 1515_storage.Copy(srcRecordNo, dstRecordNo); 1582if (_storage == null) 1586return _storage.Aggregate(records, kind); 1591Debug.Assert(null != _storage, "no storage"); 1592return _storage.GetStringLength(record); 1601Debug.Assert(null != _storage, "no storage"); 1602_storage.Set(record, value); 1624internal bool IsCustomType => _storage != null ? 1625_storage._isCustomDefinedType : 1636Debug.Assert(null != _storage, "no storage"); 1637return _storage.IsNull(record); 1791Debug.Assert(null != _storage, "no storage"); 1792_storage.CopyValueInternal(record, store, nullbits, storeIndex);