4 types derived from SZArrayRecord
System.Formats.Nrbf (4)
System\Formats\Nrbf\ArrayOfClassesRecord.cs (1)
11internal sealed class ArrayOfClassesRecord : SZArrayRecord<ClassRecord>
System\Formats\Nrbf\ArraySingleObjectRecord.cs (1)
18internal sealed class ArraySingleObjectRecord : SZArrayRecord<object?>
System\Formats\Nrbf\ArraySinglePrimitiveRecord.cs (1)
24internal sealed class ArraySinglePrimitiveRecord<T> : SZArrayRecord<T>
System\Formats\Nrbf\ArraySingleStringRecord.cs (1)
18internal sealed class ArraySingleStringRecord : SZArrayRecord<string?>
107 references to SZArrayRecord
PresentationCore (35)
System\Windows\Nrbf\SerializationRecordExtensions.cs (35)
142SZArrayRecord<string> ar => ar.GetArray().CreateTrimmedList(size), 143SZArrayRecord<bool> ar => ar.GetArray().CreateTrimmedList(size), 144SZArrayRecord<byte> ar => ar.GetArray().CreateTrimmedList(size), 145SZArrayRecord<sbyte> ar => ar.GetArray().CreateTrimmedList(size), 146SZArrayRecord<char> ar => ar.GetArray().CreateTrimmedList(size), 147SZArrayRecord<short> ar => ar.GetArray().CreateTrimmedList(size), 148SZArrayRecord<ushort> ar => ar.GetArray().CreateTrimmedList(size), 149SZArrayRecord<int> ar => ar.GetArray().CreateTrimmedList(size), 150SZArrayRecord<uint> ar => ar.GetArray().CreateTrimmedList(size), 151SZArrayRecord<long> ar => ar.GetArray().CreateTrimmedList(size), 152SZArrayRecord<ulong> ar => ar.GetArray().CreateTrimmedList(size), 153SZArrayRecord<float> ar => ar.GetArray().CreateTrimmedList(size), 154SZArrayRecord<double> ar => ar.GetArray().CreateTrimmedList(size), 155SZArrayRecord<decimal> ar => ar.GetArray().CreateTrimmedList(size), 156SZArrayRecord<TimeSpan> ar => ar.GetArray().CreateTrimmedList(size), 157SZArrayRecord<DateTime> ar => ar.GetArray().CreateTrimmedList(size), 181|| classInfo.GetRawValue("_items") is not SZArrayRecord<object> arrayRecord 221SZArrayRecord<string> ar => ar.GetArray(), 222SZArrayRecord<bool> ar => ar.GetArray(), 223SZArrayRecord<byte> ar => ar.GetArray(), 224SZArrayRecord<sbyte> ar => ar.GetArray(), 225SZArrayRecord<char> ar => ar.GetArray(), 226SZArrayRecord<short> ar => ar.GetArray(), 227SZArrayRecord<ushort> ar => ar.GetArray(), 228SZArrayRecord<int> ar => ar.GetArray(), 229SZArrayRecord<uint> ar => ar.GetArray(), 230SZArrayRecord<long> ar => ar.GetArray(), 231SZArrayRecord<ulong> ar => ar.GetArray(), 232SZArrayRecord<float> ar => ar.GetArray(), 233SZArrayRecord<double> ar => ar.GetArray(), 234SZArrayRecord<decimal> ar => ar.GetArray(), 235SZArrayRecord<TimeSpan> ar => ar.GetArray(), 236SZArrayRecord<DateTime> ar => ar.GetArray(), 262|| classInfo.GetSerializationRecord("Keys") is not SZArrayRecord<object?> keysRecord 263|| classInfo.GetSerializationRecord("Values") is not SZArrayRecord<object?> valuesRecord
System.Formats.Nrbf (1)
System\Formats\Nrbf\ClassRecord.cs (1)
99/// <para>For single-dimensional arrays, returns <see cref="SZArrayRecord{T}"/> where the generic type is the primitive type or <see cref="ClassRecord"/>.</para>
System.Private.Windows.Core (51)
System\Private\Windows\Core\BinaryFormat\Deserializer\ArrayRecordDeserializer.cs (15)
102SZArrayRecord<bool> primitiveArray => primitiveArray.GetArray(), 103SZArrayRecord<byte> primitiveArray => primitiveArray.GetArray(), 104SZArrayRecord<sbyte> primitiveArray => primitiveArray.GetArray(), 105SZArrayRecord<char> primitiveArray => primitiveArray.GetArray(), 106SZArrayRecord<short> primitiveArray => primitiveArray.GetArray(), 107SZArrayRecord<ushort> primitiveArray => primitiveArray.GetArray(), 108SZArrayRecord<int> primitiveArray => primitiveArray.GetArray(), 109SZArrayRecord<uint> primitiveArray => primitiveArray.GetArray(), 110SZArrayRecord<long> primitiveArray => primitiveArray.GetArray(), 111SZArrayRecord<ulong> primitiveArray => primitiveArray.GetArray(), 112SZArrayRecord<float> primitiveArray => primitiveArray.GetArray(), 113SZArrayRecord<double> primitiveArray => primitiveArray.GetArray(), 114SZArrayRecord<decimal> primitiveArray => primitiveArray.GetArray(), 115SZArrayRecord<DateTime> primitiveArray => primitiveArray.GetArray(), 116SZArrayRecord<TimeSpan> primitiveArray => primitiveArray.GetArray(),
System\Private\Windows\Core\BinaryFormat\Deserializer\Deserializer.cs (1)
226SerializationRecordType.ArraySingleString => ((SZArrayRecord<string>)record).GetArray(),
System\Private\Windows\Core\Nrbf\SerializationRecordExtensions.cs (35)
320SZArrayRecord<string> ar => ar.GetArray().CreateTrimmedList(size), 321SZArrayRecord<bool> ar => ar.GetArray().CreateTrimmedList(size), 322SZArrayRecord<byte> ar => ar.GetArray().CreateTrimmedList(size), 323SZArrayRecord<sbyte> ar => ar.GetArray().CreateTrimmedList(size), 324SZArrayRecord<char> ar => ar.GetArray().CreateTrimmedList(size), 325SZArrayRecord<short> ar => ar.GetArray().CreateTrimmedList(size), 326SZArrayRecord<ushort> ar => ar.GetArray().CreateTrimmedList(size), 327SZArrayRecord<int> ar => ar.GetArray().CreateTrimmedList(size), 328SZArrayRecord<uint> ar => ar.GetArray().CreateTrimmedList(size), 329SZArrayRecord<long> ar => ar.GetArray().CreateTrimmedList(size), 330SZArrayRecord<ulong> ar => ar.GetArray().CreateTrimmedList(size), 331SZArrayRecord<float> ar => ar.GetArray().CreateTrimmedList(size), 332SZArrayRecord<double> ar => ar.GetArray().CreateTrimmedList(size), 333SZArrayRecord<decimal> ar => ar.GetArray().CreateTrimmedList(size), 334SZArrayRecord<TimeSpan> ar => ar.GetArray().CreateTrimmedList(size), 335SZArrayRecord<DateTime> ar => ar.GetArray().CreateTrimmedList(size), 359|| classInfo.GetRawValue("_items") is not SZArrayRecord<object> arrayRecord 399SZArrayRecord<string> ar => ar.GetArray(), 400SZArrayRecord<bool> ar => ar.GetArray(), 401SZArrayRecord<byte> ar => ar.GetArray(), 402SZArrayRecord<sbyte> ar => ar.GetArray(), 403SZArrayRecord<char> ar => ar.GetArray(), 404SZArrayRecord<short> ar => ar.GetArray(), 405SZArrayRecord<ushort> ar => ar.GetArray(), 406SZArrayRecord<int> ar => ar.GetArray(), 407SZArrayRecord<uint> ar => ar.GetArray(), 408SZArrayRecord<long> ar => ar.GetArray(), 409SZArrayRecord<ulong> ar => ar.GetArray(), 410SZArrayRecord<float> ar => ar.GetArray(), 411SZArrayRecord<double> ar => ar.GetArray(), 412SZArrayRecord<decimal> ar => ar.GetArray(), 413SZArrayRecord<TimeSpan> ar => ar.GetArray(), 414SZArrayRecord<DateTime> ar => ar.GetArray(), 450|| classInfo.GetSerializationRecord("Keys") is not SZArrayRecord<object?> keysRecord 451|| classInfo.GetSerializationRecord("Values") is not SZArrayRecord<object?> valuesRecord
System.Resources.Extensions (16)
System\Resources\Extensions\BinaryFormat\Deserializer\ArrayRecordDeserializer.cs (15)
105SZArrayRecord<bool> primitiveArray => primitiveArray.GetArray(), 106SZArrayRecord<byte> primitiveArray => primitiveArray.GetArray(), 107SZArrayRecord<sbyte> primitiveArray => primitiveArray.GetArray(), 108SZArrayRecord<char> primitiveArray => primitiveArray.GetArray(), 109SZArrayRecord<short> primitiveArray => primitiveArray.GetArray(), 110SZArrayRecord<ushort> primitiveArray => primitiveArray.GetArray(), 111SZArrayRecord<int> primitiveArray => primitiveArray.GetArray(), 112SZArrayRecord<uint> primitiveArray => primitiveArray.GetArray(), 113SZArrayRecord<long> primitiveArray => primitiveArray.GetArray(), 114SZArrayRecord<ulong> primitiveArray => primitiveArray.GetArray(), 115SZArrayRecord<float> primitiveArray => primitiveArray.GetArray(), 116SZArrayRecord<double> primitiveArray => primitiveArray.GetArray(), 117SZArrayRecord<decimal> primitiveArray => primitiveArray.GetArray(), 118SZArrayRecord<DateTime> primitiveArray => primitiveArray.GetArray(), 119SZArrayRecord<TimeSpan> primitiveArray => primitiveArray.GetArray(),
System\Resources\Extensions\BinaryFormat\Deserializer\Deserializer.cs (1)
230SerializationRecordType.ArraySingleString => ((SZArrayRecord<string>)record).GetArray(),
System.Windows.Forms (2)
System\Windows\Forms\Nrbf\WinFormsSerializationRecordExtensions.cs (2)
27|| types.GetRawValue("Data") is not SZArrayRecord<byte> data) 47|| types.GetRawValue("Data") is not SZArrayRecord<byte> data)
System.Windows.Forms.Tests (2)
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (2)
29arrayRecord.Should().BeAssignableTo<SZArrayRecord<byte>>(); 82root.GetArrayRecord("Data")!.Should().BeAssignableTo<SZArrayRecord<byte>>();