14 overrides of TypeName
System.Formats.Nrbf (14)
System\Formats\Nrbf\ArrayRectangularPrimitiveRecord.cs (1)
35
public override TypeName
TypeName
System\Formats\Nrbf\ArraySingleObjectRecord.cs (1)
24
public override TypeName
TypeName
System\Formats\Nrbf\ArraySinglePrimitiveRecord.cs (1)
36
public override TypeName
TypeName
=> TypeNameHelpers.GetPrimitiveSZArrayTypeName(TypeNameHelpers.GetPrimitiveType<T>());
System\Formats\Nrbf\ArraySingleStringRecord.cs (1)
25
public override TypeName
TypeName
=> TypeNameHelpers.GetPrimitiveSZArrayTypeName(TypeNameHelpers.StringPrimitiveType);
System\Formats\Nrbf\BinaryLibraryRecord.cs (1)
33
public override TypeName
TypeName
=> TypeName.Parse(nameof(BinaryLibraryRecord).AsSpan());
System\Formats\Nrbf\ClassRecord.cs (1)
23
public override TypeName
TypeName
=> ClassInfo.TypeName;
System\Formats\Nrbf\JaggedArrayRecord.cs (1)
43
public override TypeName
TypeName
=> _typeName ??= _memberTypeInfo.GetArrayTypeName(ArrayInfo);
System\Formats\Nrbf\MemberReferenceRecord.cs (1)
34
public override TypeName
TypeName
=> GetReferencedRecord().TypeName;
System\Formats\Nrbf\MessageEndRecord.cs (1)
27
public override TypeName
TypeName
=> TypeName.Parse(nameof(MessageEndRecord).AsSpan());
System\Formats\Nrbf\NullsRecord.cs (1)
15
public override TypeName
TypeName
=> TypeName.Parse(GetType().Name.AsSpan());
System\Formats\Nrbf\PrimitiveTypeRecordOfT.cs (1)
37
public override TypeName
TypeName
=> TypeNameHelpers.GetPrimitiveTypeName(TypeNameHelpers.GetPrimitiveType<T>());
System\Formats\Nrbf\RectangularArrayRecord.cs (1)
41
public override TypeName
TypeName
System\Formats\Nrbf\SerializedStreamHeaderRecord.cs (1)
27
public override TypeName
TypeName
=> TypeName.Parse(nameof(SerializedStreamHeaderRecord).AsSpan());
System\Formats\Nrbf\SZArrayOfRecords.cs (1)
32
public override TypeName
TypeName
17 references to TypeName
System.Formats.Nrbf (4)
System\Formats\Nrbf\ArrayRecord.cs (2)
55
||
TypeName
.GetElementType().IsArray;
80
throw new InvalidOperationException(SR.Format(SR.Serialization_TypeMismatch, expectedArrayType.AssemblyQualifiedName,
TypeName
.AssemblyQualifiedName));
System\Formats\Nrbf\MemberReferenceRecord.cs (1)
34
public override TypeName TypeName => GetReferencedRecord().
TypeName
;
System\Formats\Nrbf\SerializationRecord.cs (1)
65
return Matches(type,
TypeName
);
System.Private.Windows.Core (2)
System\Private\Windows\Core\BinaryFormat\Deserializer\ArrayRecordDeserializer.cs (2)
25
_elementType = deserializer.TypeResolver.GetType(arrayRecord.
TypeName
.GetElementType());
123
Type arrayRecordElementType = typeResolver.GetType(arrayRecord.
TypeName
.GetElementType());
System.Resources.Extensions (3)
System\Resources\Extensions\BinaryFormat\Deserializer\ArrayRecordDeserializer.cs (3)
28
_elementType = deserializer.TypeResolver.GetType(arrayRecord.
TypeName
.GetElementType());
127
if (arrayRecord.Rank <= 1 || arrayRecord.
TypeName
.GetElementType().IsArray)
132
Type arrayRecordElementType = typeResolver.GetType(arrayRecord.
TypeName
.GetElementType());
System.Windows.Forms (7)
System\Windows\Forms\Nrbf\WinFormsSerializationRecordExtensions.cs (1)
73
if (record.
TypeName
.AssemblyName?.FullName != IJsonData.CustomAssemblyName)
System\Windows\Forms\OLE\DataObject.Composition.BinaryFormatUtilities.cs (6)
105
if (!legacyMode && !type.MatchExceptAssemblyVersion(record.
TypeName
))
112
if (!TypeNameIsAssignableToType(record.
TypeName
, type, (ITypeResolver)binder))
115
if (record.
TypeName
.FullName == typeof(NotSupportedException).FullName
179
if (!legacyMode && !type.MatchExceptAssemblyVersion(record.
TypeName
))
181
if (!TypeNameIsAssignableToType(record.
TypeName
, type, new Binder(type, resolver, legacyMode)))
184
if (record.
TypeName
.FullName == typeof(NotSupportedException).FullName
System.Windows.Forms.Tests (1)
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
47
binary.
TypeName
.AssemblyName!.FullName.Should().Be(IJsonData.CustomAssemblyName);