2 writes to _values
System.Data.Common (2)
System\Data\Common\SQLTypes\SQLInt16Storage.cs (2)
203Array.Resize(ref _values, capacity); 253_values = (SqlInt16[])store;
19 references to _values
System.Data.Common (19)
System\Data\Common\SQLTypes\SQLInt16Storage.cs (19)
36checked { sum += _values[record]; } 52checked { meanSum += (_values[record]).ToSqlInt64(); } 76dsum += (_values[record]).ToSqlDouble(); 77sqrsum += (_values[record]).ToSqlDouble() * (_values[record]).ToSqlDouble(); 110if ((SqlInt16.LessThan(_values[record], min)).IsTrue) 111min = _values[record]; 127if ((SqlInt16.GreaterThan(_values[record], max)).IsTrue) 128max = _values[record]; 140return _values[records[0]]; 163return _values[recordNo1].CompareTo(_values[recordNo2]); 169return _values[recordNo].CompareTo((SqlInt16)value); 183_values[recordNo2] = _values[recordNo1]; 188return _values[record]; 193return (_values[record].IsNull); 198_values[record] = SqlConvert.ConvertToSqlInt16(value); 247typedStore[storeIndex] = _values[record];