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)
1005
customAttr.Owner = (EntityRegistry.EntityBase?)_entityRegistry.
Assembly
Actions\GrammarActions.Declarations.Actions.cs (1)
128
security?.Parent = _entityRegistry.
Assembly
;
Actions\GrammarActions.Manifest.Assembly.cs (4)
100
EntityRegistry.AssemblyEntity assembly = _entityRegistry.
Assembly
;
172
if (_entityRegistry.
Assembly
is null)
182
_entityRegistry.
Assembly
.PublicKeyOrToken = blob;
183
_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);
890
return
Assembly
is not null
891
&& string.Equals(assemblyReference.Name,
Assembly
.Name, StringComparison.OrdinalIgnoreCase)
1318
if (
Assembly
is not null && string.Equals(asmRef.Name,
Assembly
.Name, StringComparison.OrdinalIgnoreCase))