2 writes to _values
System.Data.Common (2)
System\Data\Common\UInt16Storage.cs (2)
249Array.Resize(ref _values, capacity); 281_values = (ushort[])store;
17 references to _values
System.Data.Common (17)
System\Data\Common\UInt16Storage.cs (17)
34checked { sum += _values[record]; } 51checked { meanSum += _values[record]; } 76dsum += _values[record]; 77sqrsum += _values[record] * (double)_values[record]; 111min = Math.Min(_values[record], min); 128max = Math.Max(_values[record], max); 141return _values[records[0]]; 166ushort valueNo1 = _values[recordNo1]; 167ushort valueNo2 = _values[recordNo2]; 191ushort valueNo1 = _values[recordNo]; 219_values[recordNo2] = _values[recordNo1]; 224ushort value = _values[record]; 237_values[record] = DefaultValue; 242_values[record] = ((IConvertible)value).ToUInt16(FormatProvider); 275typedStore[storeIndex] = _values[record];