1 write to _values
System.Formats.Nrbf (1)
System\Formats\Nrbf\RectangularArrayRecord.cs (1)
29
_values
= new List<object>(canPreAllocate ? arrayInfo.GetSZArrayLength() : Math.Min(4, arrayInfo.GetSZArrayLength()));
16 references to _values
System.Formats.Nrbf (16)
System\Formats\Nrbf\RectangularArrayRecord.cs (16)
93
if (ElementType == typeof(bool)) CopyTo<bool>(
_values
, result);
94
else if (ElementType == typeof(byte)) CopyTo<byte>(
_values
, result);
95
else if (ElementType == typeof(sbyte)) CopyTo<sbyte>(
_values
, result);
96
else if (ElementType == typeof(short)) CopyTo<short>(
_values
, result);
97
else if (ElementType == typeof(ushort)) CopyTo<ushort>(
_values
, result);
98
else if (ElementType == typeof(char)) CopyTo<char>(
_values
, result);
99
else if (ElementType == typeof(int)) CopyTo<int>(
_values
, result);
100
else if (ElementType == typeof(float)) CopyTo<float>(
_values
, result);
101
else if (ElementType == typeof(long)) CopyTo<long>(
_values
, result);
102
else if (ElementType == typeof(ulong)) CopyTo<ulong>(
_values
, result);
103
else if (ElementType == typeof(double)) CopyTo<double>(
_values
, result);
104
else if (ElementType == typeof(TimeSpan)) CopyTo<TimeSpan>(
_values
, result);
105
else if (ElementType == typeof(DateTime)) CopyTo<DateTime>(
_values
, result);
106
else if (ElementType == typeof(decimal)) CopyTo<decimal>(
_values
, result);
111
CopyTo<object>(
_values
, result);
133
private protected override void AddValue(object value) =>
_values
.Add(value);