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