1 write to Assembly
ILAssembler (1)
GrammarVisitor.cs (1)
595_entityRegistry.Assembly ??= new EntityRegistry.AssemblyEntity(assemblyName);
22 references to Assembly
ILAssembler (22)
EntityRegistry.cs (12)
100if (Assembly is not null) 102((IHasHandle)Assembly).SetHandle(MetadataTokens.EntityHandle(0x20000001)); 393if (Assembly is not null) 396var assemblyFlags = Assembly.Flags | (AssemblyFlags)((int)Assembly.ProcessorArchitecture << 4); 398builder.GetOrAddString(Assembly.Name), 399Assembly.Version ?? new Version(), 400Assembly.Culture is null ? default : builder.GetOrAddString(Assembly.Culture), 401Assembly.PublicKeyOrToken is null ? default : builder.GetOrAddBlob(Assembly.PublicKeyOrToken), 403Assembly.HashAlgorithm);
GrammarVisitor.cs (10)
597(_entityRegistry.Assembly.ProcessorArchitecture, _entityRegistry.Assembly.Flags) = GetArchAndFlags(attr); 626if (_entityRegistry.Assembly is null) 676customAttr.Owner = _entityRegistry.Assembly; 681if (_entityRegistry.Assembly is null) 691_entityRegistry.Assembly.PublicKeyOrToken = blob; 692_entityRegistry.Assembly.Flags |= AssemblyFlags.PublicKey; 713sec.Parent = _entityRegistry.Assembly; 718_entityRegistry.Assembly!.HashAlgorithm = (AssemblyHashAlgorithm)VisitInt32(hashAlg).Value; 722_currentAssemblyOrRef = _entityRegistry.Assembly;