1 write to Assembly
Microsoft.DotNet.ILAssembler (1)
Actions\GrammarActions.Manifest.Assembly.cs (1)
99_entityRegistry.Assembly ??= new EntityRegistry.AssemblyEntity(assemblyName);
22 references to Assembly
Microsoft.DotNet.ILAssembler (22)
Actions\GrammarActions.BuildImage.cs (1)
1104customAttr.Owner = (EntityRegistry.EntityBase?)_entityRegistry.Assembly
Actions\GrammarActions.Declarations.Actions.cs (1)
128security?.Parent = _entityRegistry.Assembly;
Actions\GrammarActions.Manifest.Assembly.cs (4)
100EntityRegistry.AssemblyEntity assembly = _entityRegistry.Assembly; 172if (_entityRegistry.Assembly is null) 182_entityRegistry.Assembly.PublicKeyOrToken = blob; 183_entityRegistry.Assembly.Flags |= AssemblyFlags.PublicKey;
EntityRegistry.cs (16)
102if (Assembly is not null) 104((IHasHandle)Assembly).SetHandle(MetadataTokens.EntityHandle(0x20000001)); 556if (Assembly is not null) 559var assemblyFlags = Assembly.Flags | (AssemblyFlags)((int)Assembly.ProcessorArchitecture << 4); 561builder.GetOrAddString(Assembly.Name), 562Assembly.Version ?? new Version(0, 0, 0, 0), 563Assembly.Culture is null ? default : builder.GetOrAddString(Assembly.Culture), 564Assembly.PublicKeyOrToken is null ? default : builder.GetOrAddBlob(Assembly.PublicKeyOrToken), 566Assembly.HashAlgorithm); 850return Assembly is not null 851&& string.Equals(assemblyReference.Name, Assembly.Name, StringComparison.OrdinalIgnoreCase) 1327if (Assembly is not null && string.Equals(asmRef.Name, Assembly.Name, StringComparison.OrdinalIgnoreCase))