2 writes to _values
System.Data.Common (2)
System\Data\Common\ObjectStorage.cs (2)
312
_values
= newValues;
541
_values
= (object[])store;
26 references to _values
System.Data.Common (26)
System\Data\Common\ObjectStorage.cs (26)
43
object? valueNo1 =
_values
[recordNo1];
44
object? valueNo2 =
_values
[recordNo2];
180
_values
[recordNo2] =
_values
[recordNo1];
185
object? value =
_values
[recordNo];
230
return (null ==
_values
[record]);
238
_values
[recordNo] = null;
242
_values
[recordNo] = value;
249
_values
[recordNo] = new Guid((string)value);
255
_values
[recordNo] = BitConverter.GetBytes((bool)value);
259
_values
[recordNo] = BitConverter.GetBytes((char)value);
263
_values
[recordNo] = BitConverter.GetBytes((short)value);
267
_values
[recordNo] = BitConverter.GetBytes((int)value);
271
_values
[recordNo] = BitConverter.GetBytes((long)value);
275
_values
[recordNo] = BitConverter.GetBytes((ushort)value);
279
_values
[recordNo] = BitConverter.GetBytes((uint)value);
283
_values
[recordNo] = BitConverter.GetBytes((ulong)value);
287
_values
[recordNo] = BitConverter.GetBytes((float)value);
291
_values
[recordNo] = BitConverter.GetBytes((double)value);
308
if (
_values
!= null)
310
Array.Copy(
_values
, newValues, Math.Min(capacity,
_values
.Length));
526
typedStore[storeIndex] =
_values
[record];
542
for (int i = 0; i <
_values
.Length; i++)
544
if (
_values
[i] is DateTime dt && dt.Kind == DateTimeKind.Local)
546
_values
[i] = (DateTime.SpecifyKind(dt, DateTimeKind.Utc)).ToLocalTime();