3 types derived from ClassRecord
System.Formats.Nrbf (3)
System\Formats\Nrbf\ClassWithIdRecord.cs (1)
16internal sealed class ClassWithIdRecord : ClassRecord
System\Formats\Nrbf\ClassWithMembersAndTypesRecord.cs (1)
15internal sealed class ClassWithMembersAndTypesRecord : ClassRecord
System\Formats\Nrbf\SystemClassWithMembersAndTypesRecord.cs (1)
16internal sealed class SystemClassWithMembersAndTypesRecord : ClassRecord
64 references to ClassRecord
PresentationCore (6)
System\Windows\Nrbf\SerializationRecordExtensions.cs (6)
42if (record is not ClassRecord classInfo 67if (record is not ClassRecord classInfo 124if (record is not ClassRecord classInfo 174if (record is not ClassRecord classInfo 262|| record is not ClassRecord classInfo 321if (record is not ClassRecord classInfo
System.Formats.Nrbf (16)
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 (3)
18private ClassWithIdRecord(SerializationRecordId id, ClassRecord metadataClass) : base(metadataClass.ClassInfo, metadataClass.MemberTypeInfo) 29internal ClassRecord MetadataClass { get; } 39if (metadataRecord is ClassRecord referencedClassRecord)
System\Formats\Nrbf\NrbfDecoder.cs (5)
102/// a <see cref="ClassRecord"/>, or an <see cref="ArrayRecord"/>.</returns> 155/// <returns>A <see cref="ClassRecord"/> that represents the root object.</returns> 157public static ClassRecord DecodeClassRecord(Stream payload, PayloadOptions? options = default, bool leaveOpen = false) 158=> (ClassRecord)Decode(payload, options, leaveOpen); 478if (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\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)
115if (record is not ClassRecord classInfo 140if (record is not ClassRecord classInfo 165if (record is not ClassRecord classInfo 196if (record is not ClassRecord classInfo 221if (record is not ClassRecord classInfo 246if (record is not ClassRecord classInfo 277if (record is not ClassRecord classInfo 347if (record is not ClassRecord classInfo 397if (record is not ClassRecord classInfo 495|| record is not ClassRecord classInfo 554if (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 (3)
System\Windows\Forms\Nrbf\WinFormsSerializationRecordExtensions.cs (3)
29if (record is not ClassRecord types 49if (record is not ClassRecord types 79if (record is not ClassRecord types
System.Windows.Forms.Tests (6)
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (4)
115ClassRecord root = rootRecord.Should().BeAssignableTo<ClassRecord>().Subject; 170ClassRecord root = rootRecord.Should().BeAssignableTo<Formats.Nrbf.ClassRecord>().Subject;
System\Windows\Forms\ClipboardTests.cs (2)
1049ClassRecord types = record.Should().BeAssignableTo<ClassRecord>().Subject;