System\Formats\Nrbf\RectangularArrayRecord.cs (15)
93if (ElementType == typeof(bool)) CopyTo<bool>(_values, result);
94else if (ElementType == typeof(byte)) CopyTo<byte>(_values, result);
95else if (ElementType == typeof(sbyte)) CopyTo<sbyte>(_values, result);
96else if (ElementType == typeof(short)) CopyTo<short>(_values, result);
97else if (ElementType == typeof(ushort)) CopyTo<ushort>(_values, result);
98else if (ElementType == typeof(char)) CopyTo<char>(_values, result);
99else if (ElementType == typeof(int)) CopyTo<int>(_values, result);
100else if (ElementType == typeof(float)) CopyTo<float>(_values, result);
101else if (ElementType == typeof(long)) CopyTo<long>(_values, result);
102else if (ElementType == typeof(ulong)) CopyTo<ulong>(_values, result);
103else if (ElementType == typeof(double)) CopyTo<double>(_values, result);
104else if (ElementType == typeof(TimeSpan)) CopyTo<TimeSpan>(_values, result);
105else if (ElementType == typeof(DateTime)) CopyTo<DateTime>(_values, result);
106else if (ElementType == typeof(decimal)) CopyTo<decimal>(_values, result);
111CopyTo<object>(_values, result);