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