1 write to ElementType
System.Formats.Nrbf (1)
System\Formats\Nrbf\RectangularArrayRecord.cs (1)
24
ElementType
= elementType;
17 references to ElementType
System.Formats.Nrbf (17)
System\Formats\Nrbf\RectangularArrayRecord.cs (17)
50
ElementType
== typeof(ClassRecord)
51
? Array.CreateInstance(
ElementType
, _lengths)
91
if (
ElementType
.IsValueType)
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);