2 writes to _values
System.Data.Common (2)
System\Data\Common\SQLTypes\SQLDecimalStorage.cs (2)
202
Array.Resize(ref
_values
, capacity);
252
_values
= (SqlDecimal[])store;
19 references to _values
System.Data.Common (19)
System\Data\Common\SQLTypes\SQLDecimalStorage.cs (19)
36
checked { sum +=
_values
[record]; }
52
checked { meanSum +=
_values
[record]; }
76
dsum +=
_values
[record].ToSqlDouble();
77
sqrsum += (
_values
[record]).ToSqlDouble() * (
_values
[record]).ToSqlDouble();
110
if ((SqlDecimal.LessThan(
_values
[record], min)).IsTrue)
111
min =
_values
[record];
127
if ((SqlDecimal.GreaterThan(
_values
[record], max)).IsTrue)
128
max =
_values
[record];
140
return
_values
[records[0]];
162
return
_values
[recordNo1].CompareTo(
_values
[recordNo2]);
168
return
_values
[recordNo].CompareTo((SqlDecimal)value);
182
_values
[recordNo2] =
_values
[recordNo1];
187
return
_values
[record];
192
return (
_values
[record].IsNull);
197
_values
[record] = SqlConvert.ConvertToSqlDecimal(value);
246
typedStore[storeIndex] =
_values
[record];