4 types derived from ArrayRecord
System.Formats.Nrbf (4)
System\Formats\Nrbf\ArrayRectangularPrimitiveRecord.cs (1)
18internal sealed class ArrayRectangularPrimitiveRecord<T> : ArrayRecord where T : unmanaged
System\Formats\Nrbf\JaggedArrayRecord.cs (1)
20internal sealed class JaggedArrayRecord : ArrayRecord
System\Formats\Nrbf\RectangularArrayRecord.cs (1)
16internal sealed class RectangularArrayRecord : ArrayRecord
System\Formats\Nrbf\SZArrayRecord.cs (1)
14public abstract class SZArrayRecord<T> : ArrayRecord
32 references to ArrayRecord
PresentationCore (1)
System\Windows\Nrbf\SerializationRecordExtensions.cs (1)
131|| classInfo.GetRawValue("_items") is not ArrayRecord arrayRecord
System.Formats.Nrbf (19)
System\Formats\Nrbf\ArrayRecord.cs (1)
190if (record is not ArrayRecord arrayRecord)
System\Formats\Nrbf\ClassRecord.cs (4)
100/// <para>For jagged and multi-dimensional arrays, returns an instance of <see cref="ArrayRecord"/>.</para> 106public ArrayRecord? GetArrayRecord(string memberName) => GetMember<ArrayRecord>(memberName); 113/// <see cref="ClassRecord"/>, <see cref="ArrayRecord"/>, or <see langword="null" />.
System\Formats\Nrbf\JaggedArrayRecord.cs (3)
511 => new ArrayRecord[_lengths[0]], 522 => new ArrayRecord[_lengths[0], _lengths[1]], 53_ => Array.CreateInstance(typeof(ArrayRecord), _lengths)
System\Formats\Nrbf\NrbfDecoder.cs (8)
102/// a <see cref="ClassRecord"/>, or an <see cref="ArrayRecord"/>.</returns> 273private static ArrayRecord DecodeArraySinglePrimitiveRecord(BinaryReader 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 338private static ArrayRecord DecodeBinaryArrayRecord(BinaryReader reader, RecordMap recordMap, PayloadOptions options) 487else if (record is ArrayRecord arrayRecord && arrayRecord.ValuesToRead > 0)
System\Formats\Nrbf\PrimitiveTypeRecord.cs (1)
20/// <para>Other serialization records are represented with <see cref="ClassRecord"/> or <see cref="ArrayRecord"/>.</para>
System\Formats\Nrbf\PrimitiveTypeRecordOfT.cs (1)
23/// <para>Other serialization records are represented with <see cref="ClassRecord"/> or <see cref="ArrayRecord"/>.</para>
System\Formats\Nrbf\SerializationRecord.cs (1)
16/// a <see cref="ClassRecord"/>, or an <see cref="ArrayRecord"/>.
System.Private.Windows.Core (6)
System\Private\Windows\Core\BinaryFormat\Deserializer\ArrayRecordDeserializer.cs (3)
10private readonly ArrayRecord _arrayRecord; 18internal ArrayRecordDeserializer(ArrayRecord arrayRecord, IDeserializer deserializer) 121internal static Array? GetSimpleBinaryArray(ArrayRecord arrayRecord, ITypeResolver typeResolver)
System\Private\Windows\Core\BinaryFormat\Deserializer\Deserializer.cs (1)
228SerializationRecordType.BinaryArray => ArrayRecordDeserializer.GetSimpleBinaryArray((ArrayRecord)record, _typeResolver),
System\Private\Windows\Core\BinaryFormat\Deserializer\ObjectRecordDeserializer.cs (1)
100_ => new ArrayRecordDeserializer((ArrayRecord)record, deserializer),
System\Private\Windows\Core\Nrbf\SerializationRecordExtensions.cs (1)
354|| classInfo.GetRawValue("_items") is not ArrayRecord arrayRecord
System.Resources.Extensions (5)
System\Resources\Extensions\BinaryFormat\Deserializer\ArrayRecordDeserializer.cs (3)
13private readonly ArrayRecord _arrayRecord; 21internal ArrayRecordDeserializer(ArrayRecord arrayRecord, IDeserializer deserializer) 124internal static Array? GetRectangularArrayOfPrimitives(ArrayRecord arrayRecord, BinaryFormattedObject.ITypeResolver typeResolver)
System\Resources\Extensions\BinaryFormat\Deserializer\Deserializer.cs (1)
232SerializationRecordType.BinaryArray => ArrayRecordDeserializer.GetRectangularArrayOfPrimitives((ArrayRecord)record, _typeResolver),
System\Resources\Extensions\BinaryFormat\Deserializer\ObjectRecordDeserializer.cs (1)
99_ => new ArrayRecordDeserializer((ArrayRecord)record, deserializer),
System.Windows.Forms.Tests (1)
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
119ArrayRecord arrayRecord = root.GetArrayRecord("Data")!;