3 types derived from ClassRecord
System.Formats.Nrbf (3)
System\Formats\Nrbf\ClassWithIdRecord.cs (1)
15
internal sealed class ClassWithIdRecord :
ClassRecord
System\Formats\Nrbf\ClassWithMembersAndTypesRecord.cs (1)
15
internal sealed class ClassWithMembersAndTypesRecord :
ClassRecord
System\Formats\Nrbf\SystemClassWithMembersAndTypesRecord.cs (1)
15
internal sealed class SystemClassWithMembersAndTypesRecord :
ClassRecord
72 references to ClassRecord
PresentationCore (6)
System\Windows\Nrbf\SerializationRecordExtensions.cs (6)
44
if (record is not
ClassRecord
classInfo
69
if (record is not
ClassRecord
classInfo
126
if (record is not
ClassRecord
classInfo
176
if (record is not
ClassRecord
classInfo
256
|| record is not
ClassRecord
classInfo
303
if (record is not
ClassRecord
classInfo
System.Formats.Nrbf (27)
System\Formats\Nrbf\ArrayOfClassesRecord.cs (7)
11
internal sealed class ArrayOfClassesRecord : SZArrayRecord<
ClassRecord
>
32
public override
ClassRecord
?[] GetArray(bool allowNulls = true)
33
=> (
ClassRecord
?[])(allowNulls ? _arrayNullsAllowed ??= ToArray(true) : _arrayNullsNotAllowed ??= ToArray(false));
35
private
ClassRecord
?[] ToArray(bool allowNulls)
37
ClassRecord
?[] result = new
ClassRecord
?[Length];
46
if (actual is
ClassRecord
classRecord)
System\Formats\Nrbf\BinaryArrayRecord.cs (1)
301
Type complexType = typeof(
ClassRecord
);
System\Formats\Nrbf\ClassRecord.cs (5)
60
public
ClassRecord
? GetClassRecord(string memberName) => GetMember<
ClassRecord
>(memberName);
98
/// <para>For other types that are not arrays, returns an instance of <see cref="
ClassRecord
"/>.</para>
99
/// <para>For single-dimensional arrays, returns <see cref="SZArrayRecord{T}"/> where the generic type is the primitive type or <see cref="
ClassRecord
"/>.</para>
113
/// <see cref="
ClassRecord
"/>, <see cref="ArrayRecord"/>, or <see langword="null" />.
System\Formats\Nrbf\ClassWithIdRecord.cs (4)
17
private ClassWithIdRecord(SerializationRecordId id,
ClassRecord
metadataClass) : base(metadataClass.ClassInfo, metadataClass.MemberTypeInfo)
28
internal
ClassRecord
MetadataClass { get; }
37
ClassRecord
referencedRecord = recordMap.GetRecord<
ClassRecord
>(metadataId);
System\Formats\Nrbf\NrbfDecoder.cs (5)
101
/// a <see cref="
ClassRecord
"/>, or an <see cref="ArrayRecord"/>.</returns>
154
/// <returns>A <see cref="
ClassRecord
"/> that represents the root object.</returns>
156
public static
ClassRecord
DecodeClassRecord(Stream payload, PayloadOptions? options = default, bool leaveOpen = false)
157
=> (
ClassRecord
)Decode(payload, options, leaveOpen);
311
if (record is
ClassRecord
classRecord)
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\RectangularArrayRecord.cs (2)
50
ElementType == typeof(
ClassRecord
)
158
_ => typeof(
ClassRecord
)
System\Formats\Nrbf\SerializationRecord.cs (1)
16
/// a <see cref="
ClassRecord
"/>, or an <see cref="ArrayRecord"/>.
System.Private.Windows.Core (22)
System\Private\Windows\Core\BinaryFormat\Deserializer\ClassRecordDeserializer.cs (3)
14
/// Base class for deserializing <see cref="
ClassRecord
"/>s.
20
private protected ClassRecordDeserializer(
ClassRecord
classRecord, object @object, IDeserializer deserializer)
31
internal static ObjectRecordDeserializer Create(
ClassRecord
classRecord, IDeserializer deserializer)
System\Private\Windows\Core\BinaryFormat\Deserializer\ClassRecordFieldInfoDeserializer.cs (3)
14
/// Deserializer for <see cref="
ClassRecord
"/>s that directly set fields.
18
private readonly
ClassRecord
_classRecord;
25
ClassRecord
classRecord,
System\Private\Windows\Core\BinaryFormat\Deserializer\ClassRecordSerializationInfoDeserializer.cs (3)
12
/// Deserializer for <see cref="
ClassRecord
"/>s that use <see cref="SerializationInfo"/> to initialize class state.
21
private readonly
ClassRecord
_classRecord;
28
ClassRecord
classRecord,
System\Private\Windows\Core\BinaryFormat\Deserializer\Deserializer.cs (1)
332
if (_recordMap[completedId] is
ClassRecord
classRecord
System\Private\Windows\Core\BinaryFormat\Deserializer\ObjectRecordDeserializer.cs (1)
99
ClassRecord
classRecord => ClassRecordDeserializer.Create(classRecord, deserializer),
System\Private\Windows\Core\Nrbf\SerializationRecordExtensions.cs (11)
72
if (record is not
ClassRecord
classInfo
97
if (record is not
ClassRecord
classInfo
122
if (record is not
ClassRecord
classInfo
153
if (record is not
ClassRecord
classInfo
178
if (record is not
ClassRecord
classInfo
203
if (record is not
ClassRecord
classInfo
234
if (record is not
ClassRecord
classInfo
304
if (record is not
ClassRecord
classInfo
354
if (record is not
ClassRecord
classInfo
444
|| record is not
ClassRecord
classInfo
491
if (record is not
ClassRecord
classInfo
System.Resources.Extensions (11)
System\Resources\Extensions\BinaryFormat\Deserializer\ClassRecordDeserializer.cs (3)
14
/// Base class for deserializing <see cref="
ClassRecord
"/>s.
20
private protected ClassRecordDeserializer(
ClassRecord
classRecord, object @object, IDeserializer deserializer)
31
internal static ObjectRecordDeserializer Create(
ClassRecord
classRecord, IDeserializer deserializer)
System\Resources\Extensions\BinaryFormat\Deserializer\ClassRecordFieldInfoDeserializer.cs (3)
16
/// Deserializer for <see cref="
ClassRecord
"/>s that directly set fields.
20
private readonly
ClassRecord
_classRecord;
27
ClassRecord
classRecord,
System\Resources\Extensions\BinaryFormat\Deserializer\ClassRecordSerializationInfoDeserializer.cs (3)
13
/// Deserializer for <see cref="
ClassRecord
"/>s that use <see cref="SerializationInfo"/> to initialize class state.
22
private readonly
ClassRecord
_classRecord;
29
ClassRecord
classRecord,
System\Resources\Extensions\BinaryFormat\Deserializer\Deserializer.cs (1)
336
if (_recordMap[completedId] is
ClassRecord
classRecord
System\Resources\Extensions\BinaryFormat\Deserializer\ObjectRecordDeserializer.cs (1)
98
ClassRecord
classRecord => ClassRecordDeserializer.Create(classRecord, deserializer),
System.Windows.Forms (2)
System\Windows\Forms\Nrbf\WinFormsSerializationRecordExtensions.cs (2)
24
if (record is not
ClassRecord
types
44
if (record is not
ClassRecord
types
System.Windows.Forms.Tests (4)
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (4)
24
Formats.Nrbf.
ClassRecord
root = rootRecord.Should().BeAssignableTo<Formats.Nrbf.
ClassRecord
>().Subject;
79
Formats.Nrbf.
ClassRecord
root = rootRecord.Should().BeAssignableTo<Formats.Nrbf.
ClassRecord
>().Subject;