4 types derived from SZArrayRecord
System.Formats.Nrbf (4)
System\Formats\Nrbf\ArraySingleObjectRecord.cs (1)
18
internal sealed class ArraySingleObjectRecord :
SZArrayRecord
<SerializationRecord>
System\Formats\Nrbf\ArraySinglePrimitiveRecord.cs (1)
24
internal sealed class ArraySinglePrimitiveRecord<T> :
SZArrayRecord
<T>
System\Formats\Nrbf\ArraySingleStringRecord.cs (1)
18
internal sealed class ArraySingleStringRecord :
SZArrayRecord
<string?>
System\Formats\Nrbf\SZArrayOfRecords.cs (1)
15
internal sealed class SZArrayOfRecords :
SZArrayRecord
<SerializationRecord>
110 references to SZArrayRecord
PresentationCore (35)
System\Windows\Nrbf\SerializationRecordExtensions.cs (35)
140
SZArrayRecord
<string> ar => ar.GetArray().CreateTrimmedList(size),
141
SZArrayRecord
<bool> ar => ar.GetArray().CreateTrimmedList(size),
142
SZArrayRecord
<byte> ar => ar.GetArray().CreateTrimmedList(size),
143
SZArrayRecord
<sbyte> ar => ar.GetArray().CreateTrimmedList(size),
144
SZArrayRecord
<char> ar => ar.GetArray().CreateTrimmedList(size),
145
SZArrayRecord
<short> ar => ar.GetArray().CreateTrimmedList(size),
146
SZArrayRecord
<ushort> ar => ar.GetArray().CreateTrimmedList(size),
147
SZArrayRecord
<int> ar => ar.GetArray().CreateTrimmedList(size),
148
SZArrayRecord
<uint> ar => ar.GetArray().CreateTrimmedList(size),
149
SZArrayRecord
<long> ar => ar.GetArray().CreateTrimmedList(size),
150
SZArrayRecord
<ulong> ar => ar.GetArray().CreateTrimmedList(size),
151
SZArrayRecord
<float> ar => ar.GetArray().CreateTrimmedList(size),
152
SZArrayRecord
<double> ar => ar.GetArray().CreateTrimmedList(size),
153
SZArrayRecord
<decimal> ar => ar.GetArray().CreateTrimmedList(size),
154
SZArrayRecord
<TimeSpan> ar => ar.GetArray().CreateTrimmedList(size),
155
SZArrayRecord
<DateTime> ar => ar.GetArray().CreateTrimmedList(size),
179
|| classInfo.GetRawValue("_items") is not
SZArrayRecord
<SerializationRecord> arrayRecord
227
SZArrayRecord
<string> ar => ar.GetArray(),
228
SZArrayRecord
<bool> ar => ar.GetArray(),
229
SZArrayRecord
<byte> ar => ar.GetArray(),
230
SZArrayRecord
<sbyte> ar => ar.GetArray(),
231
SZArrayRecord
<char> ar => ar.GetArray(),
232
SZArrayRecord
<short> ar => ar.GetArray(),
233
SZArrayRecord
<ushort> ar => ar.GetArray(),
234
SZArrayRecord
<int> ar => ar.GetArray(),
235
SZArrayRecord
<uint> ar => ar.GetArray(),
236
SZArrayRecord
<long> ar => ar.GetArray(),
237
SZArrayRecord
<ulong> ar => ar.GetArray(),
238
SZArrayRecord
<float> ar => ar.GetArray(),
239
SZArrayRecord
<double> ar => ar.GetArray(),
240
SZArrayRecord
<decimal> ar => ar.GetArray(),
241
SZArrayRecord
<TimeSpan> ar => ar.GetArray(),
242
SZArrayRecord
<DateTime> ar => ar.GetArray(),
268
|| classInfo.GetSerializationRecord("Keys") is not
SZArrayRecord
<SerializationRecord?> keysRecord
269
|| classInfo.GetSerializationRecord("Values") is not
SZArrayRecord
<SerializationRecord?> 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)
102
SZArrayRecord
<bool> primitiveArray => primitiveArray.GetArray(),
103
SZArrayRecord
<byte> primitiveArray => primitiveArray.GetArray(),
104
SZArrayRecord
<sbyte> primitiveArray => primitiveArray.GetArray(),
105
SZArrayRecord
<char> primitiveArray => primitiveArray.GetArray(),
106
SZArrayRecord
<short> primitiveArray => primitiveArray.GetArray(),
107
SZArrayRecord
<ushort> primitiveArray => primitiveArray.GetArray(),
108
SZArrayRecord
<int> primitiveArray => primitiveArray.GetArray(),
109
SZArrayRecord
<uint> primitiveArray => primitiveArray.GetArray(),
110
SZArrayRecord
<long> primitiveArray => primitiveArray.GetArray(),
111
SZArrayRecord
<ulong> primitiveArray => primitiveArray.GetArray(),
112
SZArrayRecord
<float> primitiveArray => primitiveArray.GetArray(),
113
SZArrayRecord
<double> primitiveArray => primitiveArray.GetArray(),
114
SZArrayRecord
<decimal> primitiveArray => primitiveArray.GetArray(),
115
SZArrayRecord
<DateTime> primitiveArray => primitiveArray.GetArray(),
116
SZArrayRecord
<TimeSpan> primitiveArray => primitiveArray.GetArray(),
System\Private\Windows\Core\BinaryFormat\Deserializer\Deserializer.cs (1)
226
SerializationRecordType.ArraySingleString => ((
SZArrayRecord
<string>)record).GetArray(),
System\Private\Windows\Core\Nrbf\SerializationRecordExtensions.cs (35)
363
SZArrayRecord
<string> ar => ar.GetArray().CreateTrimmedList(size),
364
SZArrayRecord
<bool> ar => ar.GetArray().CreateTrimmedList(size),
365
SZArrayRecord
<byte> ar => ar.GetArray().CreateTrimmedList(size),
366
SZArrayRecord
<sbyte> ar => ar.GetArray().CreateTrimmedList(size),
367
SZArrayRecord
<char> ar => ar.GetArray().CreateTrimmedList(size),
368
SZArrayRecord
<short> ar => ar.GetArray().CreateTrimmedList(size),
369
SZArrayRecord
<ushort> ar => ar.GetArray().CreateTrimmedList(size),
370
SZArrayRecord
<int> ar => ar.GetArray().CreateTrimmedList(size),
371
SZArrayRecord
<uint> ar => ar.GetArray().CreateTrimmedList(size),
372
SZArrayRecord
<long> ar => ar.GetArray().CreateTrimmedList(size),
373
SZArrayRecord
<ulong> ar => ar.GetArray().CreateTrimmedList(size),
374
SZArrayRecord
<float> ar => ar.GetArray().CreateTrimmedList(size),
375
SZArrayRecord
<double> ar => ar.GetArray().CreateTrimmedList(size),
376
SZArrayRecord
<decimal> ar => ar.GetArray().CreateTrimmedList(size),
377
SZArrayRecord
<TimeSpan> ar => ar.GetArray().CreateTrimmedList(size),
378
SZArrayRecord
<DateTime> ar => ar.GetArray().CreateTrimmedList(size),
402
|| classInfo.GetRawValue("_items") is not
SZArrayRecord
<SerializationRecord> arrayRecord
450
SZArrayRecord
<string> ar => ar.GetArray(),
451
SZArrayRecord
<bool> ar => ar.GetArray(),
452
SZArrayRecord
<byte> ar => ar.GetArray(),
453
SZArrayRecord
<sbyte> ar => ar.GetArray(),
454
SZArrayRecord
<char> ar => ar.GetArray(),
455
SZArrayRecord
<short> ar => ar.GetArray(),
456
SZArrayRecord
<ushort> ar => ar.GetArray(),
457
SZArrayRecord
<int> ar => ar.GetArray(),
458
SZArrayRecord
<uint> ar => ar.GetArray(),
459
SZArrayRecord
<long> ar => ar.GetArray(),
460
SZArrayRecord
<ulong> ar => ar.GetArray(),
461
SZArrayRecord
<float> ar => ar.GetArray(),
462
SZArrayRecord
<double> ar => ar.GetArray(),
463
SZArrayRecord
<decimal> ar => ar.GetArray(),
464
SZArrayRecord
<TimeSpan> ar => ar.GetArray(),
465
SZArrayRecord
<DateTime> ar => ar.GetArray(),
501
|| classInfo.GetSerializationRecord("Keys") is not
SZArrayRecord
<SerializationRecord?> keysRecord
502
|| classInfo.GetSerializationRecord("Values") is not
SZArrayRecord
<SerializationRecord?> valuesRecord
System.Resources.Extensions (16)
System\Resources\Extensions\BinaryFormat\Deserializer\ArrayRecordDeserializer.cs (15)
105
SZArrayRecord
<bool> primitiveArray => primitiveArray.GetArray(),
106
SZArrayRecord
<byte> primitiveArray => primitiveArray.GetArray(),
107
SZArrayRecord
<sbyte> primitiveArray => primitiveArray.GetArray(),
108
SZArrayRecord
<char> primitiveArray => primitiveArray.GetArray(),
109
SZArrayRecord
<short> primitiveArray => primitiveArray.GetArray(),
110
SZArrayRecord
<ushort> primitiveArray => primitiveArray.GetArray(),
111
SZArrayRecord
<int> primitiveArray => primitiveArray.GetArray(),
112
SZArrayRecord
<uint> primitiveArray => primitiveArray.GetArray(),
113
SZArrayRecord
<long> primitiveArray => primitiveArray.GetArray(),
114
SZArrayRecord
<ulong> primitiveArray => primitiveArray.GetArray(),
115
SZArrayRecord
<float> primitiveArray => primitiveArray.GetArray(),
116
SZArrayRecord
<double> primitiveArray => primitiveArray.GetArray(),
117
SZArrayRecord
<decimal> primitiveArray => primitiveArray.GetArray(),
118
SZArrayRecord
<DateTime> primitiveArray => primitiveArray.GetArray(),
119
SZArrayRecord
<TimeSpan> primitiveArray => primitiveArray.GetArray(),
System\Resources\Extensions\BinaryFormat\Deserializer\Deserializer.cs (1)
230
SerializationRecordType.ArraySingleString => ((
SZArrayRecord
<string>)record).GetArray(),
System.Windows.Forms (3)
System\Windows\Forms\Nrbf\WinFormsSerializationRecordExtensions.cs (3)
32
|| types.GetRawValue("Data") is not
SZArrayRecord
<byte> data)
52
|| types.GetRawValue("Data") is not
SZArrayRecord
<byte> data)
80
|| types.GetRawValue("<JsonBytes>k__BackingField") is not
SZArrayRecord
<byte> byteData
System.Windows.Forms.Tests (4)
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (2)
120
arrayRecord.Should().BeAssignableTo<
SZArrayRecord
<byte>>();
173
root.GetArrayRecord("Data")!.Should().BeAssignableTo<
SZArrayRecord
<byte>>();
System\Windows\Forms\ClipboardTests.cs (2)
1052
SZArrayRecord
<byte> byteData = types.GetRawValue("<JsonBytes>k__BackingField").Should().BeAssignableTo<
SZArrayRecord
<byte>>().Subject;