1 write to Assembly
ILAssembler (1)
Actions\GrammarActions.Manifest.Assembly.cs (1)
98_entityRegistry.Assembly ??= new EntityRegistry.AssemblyEntity(assemblyName);
24 references to Assembly
ILAssembler (24)
Actions\GrammarActions.BuildImage.cs (3)
37if (_entityRegistry.Assembly is not null && (_options.Debug || _options.DebugMode is not null)) 794if (_entityRegistry.Assembly is null) 844customAttr.Owner = _entityRegistry.Assembly;
Actions\GrammarActions.Declarations.Actions.cs (1)
120security?.Parent = _entityRegistry.Assembly;
Actions\GrammarActions.Manifest.Assembly.cs (4)
99EntityRegistry.AssemblyEntity assembly = _entityRegistry.Assembly; 171if (_entityRegistry.Assembly is null) 181_entityRegistry.Assembly.PublicKeyOrToken = blob; 182_entityRegistry.Assembly.Flags |= AssemblyFlags.PublicKey;
EntityRegistry.cs (16)
114if (Assembly is not null) 116((IHasHandle)Assembly).SetHandle(MetadataTokens.EntityHandle(0x20000001)); 594if (Assembly is not null) 597var assemblyFlags = Assembly.Flags | (AssemblyFlags)((int)Assembly.ProcessorArchitecture << 4); 599builder.GetOrAddString(Assembly.Name), 600Assembly.Version ?? new Version(0, 0, 0, 0), 601Assembly.Culture is null ? default : builder.GetOrAddString(Assembly.Culture), 602Assembly.PublicKeyOrToken is null ? default : builder.GetOrAddBlob(Assembly.PublicKeyOrToken), 604Assembly.HashAlgorithm); 857return Assembly is not null 858&& string.Equals(assemblyReference.Name, Assembly.Name, StringComparison.OrdinalIgnoreCase) 1280if (Assembly is not null && string.Equals(asmRef.Name, Assembly.Name, StringComparison.OrdinalIgnoreCase))