1 write to Assembly
ILAssembler (1)
Actions\GrammarActions.Manifest.Assembly.cs (1)
98
_entityRegistry.
Assembly
??= new EntityRegistry.AssemblyEntity(assemblyName);
22 references to Assembly
ILAssembler (22)
Actions\GrammarActions.BuildImage.cs (1)
1005
customAttr.Owner = (EntityRegistry.EntityBase?)_entityRegistry.
Assembly
Actions\GrammarActions.Declarations.Actions.cs (1)
120
security?.Parent = _entityRegistry.
Assembly
;
Actions\GrammarActions.Manifest.Assembly.cs (4)
99
EntityRegistry.AssemblyEntity assembly = _entityRegistry.
Assembly
;
171
if (_entityRegistry.
Assembly
is null)
181
_entityRegistry.
Assembly
.PublicKeyOrToken = blob;
182
_entityRegistry.
Assembly
.Flags |= AssemblyFlags.PublicKey;
EntityRegistry.cs (16)
115
if (
Assembly
is not null)
117
((IHasHandle)
Assembly
).SetHandle(MetadataTokens.EntityHandle(0x20000001));
599
if (
Assembly
is not null)
602
var assemblyFlags =
Assembly
.Flags | (AssemblyFlags)((int)
Assembly
.ProcessorArchitecture << 4);
604
builder.GetOrAddString(
Assembly
.Name),
605
Assembly
.Version ?? new Version(0, 0, 0, 0),
606
Assembly
.Culture is null ? default : builder.GetOrAddString(
Assembly
.Culture),
607
Assembly
.PublicKeyOrToken is null ? default : builder.GetOrAddBlob(
Assembly
.PublicKeyOrToken),
609
Assembly
.HashAlgorithm);
862
return
Assembly
is not null
863
&& string.Equals(assemblyReference.Name,
Assembly
.Name, StringComparison.OrdinalIgnoreCase)
1290
if (
Assembly
is not null && string.Equals(asmRef.Name,
Assembly
.Name, StringComparison.OrdinalIgnoreCase))