12 references to CreateArray
Microsoft.CodeAnalysis.CodeStyle (12)
ObjectReader.cs (12)
490
if (type == typeof(string)) { return ReadStringArrayElements(
CreateArray
<string>(length)); }
491
if (type == typeof(bool)) { return ReadBooleanArrayElements(
CreateArray
<bool>(length)); }
496
case TypeCode.Int8: return ReadInt8ArrayElements(
CreateArray
<sbyte>(length));
497
case TypeCode.Int16: return ReadInt16ArrayElements(
CreateArray
<short>(length));
498
case TypeCode.Int32: return ReadInt32ArrayElements(
CreateArray
<int>(length));
499
case TypeCode.Int64: return ReadInt64ArrayElements(
CreateArray
<long>(length));
500
case TypeCode.UInt16: return ReadUInt16ArrayElements(
CreateArray
<ushort>(length));
501
case TypeCode.UInt32: return ReadUInt32ArrayElements(
CreateArray
<uint>(length));
502
case TypeCode.UInt64: return ReadUInt64ArrayElements(
CreateArray
<ulong>(length));
503
case TypeCode.Float4: return ReadFloat4ArrayElements(
CreateArray
<float>(length));
504
case TypeCode.Float8: return ReadFloat8ArrayElements(
CreateArray
<double>(length));
505
case TypeCode.Decimal: return ReadDecimalArrayElements(
CreateArray
<decimal>(length));