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