2 instantiations of ArrayInfo
System.Formats.Nrbf (2)
System\Formats\Nrbf\ArrayInfo.cs (1)
48=> new(SerializationRecordId.Decode(reader), ParseValidArrayLength(reader));
System\Formats\Nrbf\NrbfDecoder.cs (1)
379ArrayInfo arrayInfo = new(objectId, totalElementCount, arrayType, rank);
23 references to ArrayInfo
System.Formats.Nrbf (23)
System\Formats\Nrbf\ArrayInfo.cs (1)
47internal static ArrayInfo Decode(BinaryReader reader)
System\Formats\Nrbf\ArrayRecord.cs (2)
21private protected ArrayRecord(ArrayInfo arrayInfo) 50internal ArrayInfo ArrayInfo { get; }
System\Formats\Nrbf\ArrayRectangularPrimitiveRecord.cs (1)
24internal ArrayRectangularPrimitiveRecord(ArrayInfo arrayInfo, int[] lengths, IReadOnlyList<T> values) : base(arrayInfo)
System\Formats\Nrbf\ArraySingleObjectRecord.cs (2)
20internal ArraySingleObjectRecord(ArrayInfo arrayInfo) : base(arrayInfo) => Records = []; 73=> new ArraySingleObjectRecord(ArrayInfo.Decode(reader));
System\Formats\Nrbf\ArraySinglePrimitiveRecord.cs (1)
27internal ArraySinglePrimitiveRecord(ArrayInfo arrayInfo, IReadOnlyList<T> values) : base(arrayInfo)
System\Formats\Nrbf\ArraySingleStringRecord.cs (2)
20internal ArraySingleStringRecord(ArrayInfo arrayInfo) : base(arrayInfo) => Records = []; 30=> new(ArrayInfo.Decode(reader));
System\Formats\Nrbf\JaggedArrayRecord.cs (1)
28internal JaggedArrayRecord(ArrayInfo arrayInfo, MemberTypeInfo memberTypeInfo, int[] lengths)
System\Formats\Nrbf\MemberTypeInfo.cs (1)
111internal TypeName GetArrayTypeName(ArrayInfo arrayInfo)
System\Formats\Nrbf\NrbfDecoder.cs (9)
275ArrayInfo info = ArrayInfo.Decode(reader); 281private static ArrayRecord DecodeArraySinglePrimitiveRecord(BinaryReader reader, ArrayInfo info, PrimitiveType primitiveType) 303static ArrayRecord Decode<T>(ArrayInfo info, BinaryReader reader) where T : unmanaged 307private static ArrayRecord DecodeArrayRectangularPrimitiveRecord(PrimitiveType primitiveType, ArrayInfo info, int[] lengths, BinaryReader reader) 329static ArrayRecord Decode<T>(ArrayInfo info, int[] lengths, BinaryReader reader) where T : unmanaged 361lengths[i] = ArrayInfo.ParseValidArrayLength(reader); 369if (totalElementCount > ArrayInfo.MaxArrayLength) 379ArrayInfo arrayInfo = new(objectId, totalElementCount, arrayType, rank);
System\Formats\Nrbf\RectangularArrayRecord.cs (1)
25internal RectangularArrayRecord(Type elementType, ArrayInfo arrayInfo, MemberTypeInfo memberTypeInfo, int[] lengths) : base(arrayInfo)
System\Formats\Nrbf\SZArrayOfRecords.cs (1)
19internal SZArrayOfRecords(ArrayInfo arrayInfo, MemberTypeInfo memberTypeInfo)
System\Formats\Nrbf\SZArrayRecord.cs (1)
16private protected SZArrayRecord(ArrayInfo arrayInfo) : base(arrayInfo)