3 types derived from ClassRecord
System.Formats.Nrbf (3)
System\Formats\Nrbf\ClassWithIdRecord.cs (1)
15internal sealed class ClassWithIdRecord : ClassRecord
System\Formats\Nrbf\ClassWithMembersAndTypesRecord.cs (1)
15internal sealed class ClassWithMembersAndTypesRecord : ClassRecord
System\Formats\Nrbf\SystemClassWithMembersAndTypesRecord.cs (1)
15internal sealed class SystemClassWithMembersAndTypesRecord : ClassRecord
72 references to ClassRecord
PresentationCore (6)
System\Windows\Nrbf\SerializationRecordExtensions.cs (6)
44if (record is not ClassRecord classInfo 69if (record is not ClassRecord classInfo 126if (record is not ClassRecord classInfo 176if (record is not ClassRecord classInfo 256|| record is not ClassRecord classInfo 303if (record is not ClassRecord classInfo
System.Formats.Nrbf (27)
System\Formats\Nrbf\ArrayOfClassesRecord.cs (7)
11internal sealed class ArrayOfClassesRecord : SZArrayRecord<ClassRecord> 32public override ClassRecord?[] GetArray(bool allowNulls = true) 33=> (ClassRecord?[])(allowNulls ? _arrayNullsAllowed ??= ToArray(true) : _arrayNullsNotAllowed ??= ToArray(false)); 35private ClassRecord?[] ToArray(bool allowNulls) 37ClassRecord?[] result = new ClassRecord?[Length]; 46if (actual is ClassRecord classRecord)
System\Formats\Nrbf\BinaryArrayRecord.cs (1)
301Type complexType = typeof(ClassRecord);
System\Formats\Nrbf\ClassRecord.cs (5)
60public 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)
17private ClassWithIdRecord(SerializationRecordId id, ClassRecord metadataClass) : base(metadataClass.ClassInfo, metadataClass.MemberTypeInfo) 28internal ClassRecord MetadataClass { get; } 37ClassRecord 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> 156public static ClassRecord DecodeClassRecord(Stream payload, PayloadOptions? options = default, bool leaveOpen = false) 157=> (ClassRecord)Decode(payload, options, leaveOpen); 311if (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)
50ElementType == 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. 20private protected ClassRecordDeserializer(ClassRecord classRecord, object @object, IDeserializer deserializer) 31internal 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. 18private readonly ClassRecord _classRecord; 25ClassRecord 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. 21private readonly ClassRecord _classRecord; 28ClassRecord classRecord,
System\Private\Windows\Core\BinaryFormat\Deserializer\Deserializer.cs (1)
332if (_recordMap[completedId] is ClassRecord classRecord
System\Private\Windows\Core\BinaryFormat\Deserializer\ObjectRecordDeserializer.cs (1)
99ClassRecord classRecord => ClassRecordDeserializer.Create(classRecord, deserializer),
System\Private\Windows\Core\Nrbf\SerializationRecordExtensions.cs (11)
72if (record is not ClassRecord classInfo 97if (record is not ClassRecord classInfo 122if (record is not ClassRecord classInfo 153if (record is not ClassRecord classInfo 178if (record is not ClassRecord classInfo 203if (record is not ClassRecord classInfo 234if (record is not ClassRecord classInfo 304if (record is not ClassRecord classInfo 354if (record is not ClassRecord classInfo 444|| record is not ClassRecord classInfo 491if (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. 20private protected ClassRecordDeserializer(ClassRecord classRecord, object @object, IDeserializer deserializer) 31internal 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. 20private readonly ClassRecord _classRecord; 27ClassRecord 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. 22private readonly ClassRecord _classRecord; 29ClassRecord classRecord,
System\Resources\Extensions\BinaryFormat\Deserializer\Deserializer.cs (1)
336if (_recordMap[completedId] is ClassRecord classRecord
System\Resources\Extensions\BinaryFormat\Deserializer\ObjectRecordDeserializer.cs (1)
98ClassRecord classRecord => ClassRecordDeserializer.Create(classRecord, deserializer),
System.Windows.Forms (2)
System\Windows\Forms\Nrbf\WinFormsSerializationRecordExtensions.cs (2)
24if (record is not ClassRecord types 44if (record is not ClassRecord types
System.Windows.Forms.Tests (4)
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (4)
24Formats.Nrbf.ClassRecord root = rootRecord.Should().BeAssignableTo<Formats.Nrbf.ClassRecord>().Subject; 79Formats.Nrbf.ClassRecord root = rootRecord.Should().BeAssignableTo<Formats.Nrbf.ClassRecord>().Subject;