2 writes to AssemblyName
System.Reflection.Metadata (2)
System\Reflection\Metadata\TypeName.cs (2)
57AssemblyName = assemblyName; 82AssemblyName = assemblyName;
26 references to AssemblyName
illink (5)
System.Formats.Nrbf (2)
System\Formats\Nrbf\Utils\TypeNameHelpers.cs (2)
141if (typeName.AssemblyName is null) 196|| typeName.AssemblyName is not null) // the type and library names should be provided separately
System.Private.Windows.Core (4)
System\Private\Windows\Core\BinaryFormat\Deserializer\DefaultTypeResolver.cs (4)
32Debug.Assert(typeName.AssemblyName is not null); 51if (!_assemblies.TryGetValue(typeName.AssemblyName.FullName, out Assembly? assembly)) 53AssemblyName assemblyName = typeName.AssemblyName.ToAssemblyName(); 68_assemblies.Add(typeName.AssemblyName.FullName, assembly);
System.Reflection.Metadata (5)
System\Reflection\Metadata\TypeName.cs (5)
95/// If <see cref="AssemblyName"/> returns null, simply returns <see cref="FullName"/>. 98=> _assemblyQualifiedName ??= AssemblyName is null ? FullName : $"{FullName}, {AssemblyName.FullName}"; // see recursion comments in FullName 528return new TypeName(fullName: null, AssemblyName, elementOrGenericType: this, declaringType: _declaringType, genericTypeArguments: typeArguments); 534assemblyName: AssemblyName,
System.Resources.Extensions (5)
System\Resources\Extensions\BinaryFormat\BinaryFormattedObject.TypeResolver.cs (5)
40Debug.Assert(typeName.AssemblyName is not null); 47if (_binder?.BindToType(typeName.AssemblyName.FullName, typeName.FullName) is Type binderType) 59if (!_assemblies.TryGetValue(typeName.AssemblyName.FullName, out Assembly? assembly)) 61AssemblyName assemblyName = typeName.AssemblyName.ToAssemblyName(); 76_assemblies.Add(typeName.AssemblyName.FullName, assembly);
System.Windows.Forms (2)
System\Resources\ResXSerializationBinder.cs (2)
52if (parsed.AssemblyName is { } assemblyNameInfo) 84&& parsed.AssemblyName is { } assemblyInfo)
System.Windows.Forms.Tests (3)
System\Resources\ResXSerializationBinderTests.cs (1)
89AssemblyNameInfo? assemblyNameInfo = parsed.AssemblyName;
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (2)
27root.TypeName.AssemblyName!.FullName.Should().Be(AssemblyRef.SystemDrawing); 81root.TypeName.AssemblyName!.FullName.Should().Be(typeof(WinFormsBinaryFormatWriter).Assembly.FullName);