2 instantiations of ArrayInfo
System.Formats.Nrbf (2)
System\Formats\Nrbf\ArrayInfo.cs (1)
48
=>
new
(SerializationRecordId.Decode(reader), ParseValidArrayLength(reader));
System\Formats\Nrbf\BinaryArrayRecord.cs (1)
184
ArrayInfo arrayInfo =
new
(objectId, totalElementCount, arrayType, rank);
20 references to ArrayInfo
System.Formats.Nrbf (20)
System\Formats\Nrbf\ArrayInfo.cs (1)
47
internal static
ArrayInfo
Decode(BinaryReader reader)
System\Formats\Nrbf\ArrayOfClassesRecord.cs (1)
15
internal ArrayOfClassesRecord(
ArrayInfo
arrayInfo, MemberTypeInfo memberTypeInfo)
System\Formats\Nrbf\ArrayRecord.cs (2)
18
private protected ArrayRecord(
ArrayInfo
arrayInfo)
53
internal
ArrayInfo
ArrayInfo { get; }
System\Formats\Nrbf\ArraySingleObjectRecord.cs (2)
20
private ArraySingleObjectRecord(
ArrayInfo
arrayInfo) : base(arrayInfo) => Records = [];
71
=> new ArraySingleObjectRecord(
ArrayInfo
.Decode(reader));
System\Formats\Nrbf\ArraySinglePrimitiveRecord.cs (1)
27
internal ArraySinglePrimitiveRecord(
ArrayInfo
arrayInfo, IReadOnlyList<T> values) : base(arrayInfo)
System\Formats\Nrbf\ArraySingleStringRecord.cs (2)
20
private ArraySingleStringRecord(
ArrayInfo
arrayInfo) : base(arrayInfo) => Records = [];
30
=> new(
ArrayInfo
.Decode(reader));
System\Formats\Nrbf\BinaryArrayRecord.cs (4)
33
private BinaryArrayRecord(
ArrayInfo
arrayInfo, MemberTypeInfo memberTypeInfo)
166
lengths[i] =
ArrayInfo
.ParseValidArrayLength(reader);
174
if (totalElementCount >
ArrayInfo
.MaxArrayLength)
184
ArrayInfo
arrayInfo = new(objectId, totalElementCount, arrayType, rank);
System\Formats\Nrbf\MemberTypeInfo.cs (1)
146
internal TypeName GetArrayTypeName(
ArrayInfo
arrayInfo)
System\Formats\Nrbf\NrbfDecoder.cs (3)
274
ArrayInfo
info =
ArrayInfo
.Decode(reader);
297
static SerializationRecord Decode<T>(
ArrayInfo
info, BinaryReader reader) where T : unmanaged
System\Formats\Nrbf\RectangularArrayRecord.cs (2)
21
private RectangularArrayRecord(Type elementType,
ArrayInfo
arrayInfo,
148
internal static RectangularArrayRecord Create(BinaryReader reader,
ArrayInfo
arrayInfo,
System\Formats\Nrbf\SZArrayRecord.cs (1)
16
private protected SZArrayRecord(
ArrayInfo
arrayInfo) : base(arrayInfo)