2 writes to _values
System.Data.Common (2)
System\Data\Common\DateTimeStorage.cs (2)
210
Array.Resize(ref
_values
, capacity);
268
_values
= (DateTime[])store;
21 references to _values
System.Data.Common (21)
System\Data\Common\DateTimeStorage.cs (21)
35
min = (DateTime.Compare(
_values
[record], min) < 0) ?
_values
[record] : min;
52
max = (DateTime.Compare(
_values
[record], max) >= 0) ?
_values
[record] : max;
65
return
_values
[records[0]];
90
DateTime valueNo1 =
_values
[recordNo1];
91
DateTime valueNo2 =
_values
[recordNo2];
114
DateTime valueNo1 =
_values
[recordNo];
141
_values
[recordNo2] =
_values
[recordNo1];
146
DateTime value =
_values
[record];
159
_values
[record] = s_defaultValue;
203
_values
[record] = retVal;
257
typedStore[storeIndex] =
_values
[record]; // already universal time
261
typedStore[storeIndex] =
_values
[record].ToUniversalTime();
272
for (int i = 0; i <
_values
.Length; i++)
276
_values
[i] = DateTime.SpecifyKind(
_values
[i].ToLocalTime(), DateTimeKind.Unspecified); //Strip the kind for UnspecifiedLocal.
282
for (int i = 0; i <
_values
.Length; i++)
286
_values
[i] =
_values
[i].ToLocalTime();