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)
1104
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)
102
if (
Assembly
is not null)
104
((IHasHandle)
Assembly
).SetHandle(MetadataTokens.EntityHandle(0x20000001));
556
if (
Assembly
is not null)
559
var assemblyFlags =
Assembly
.Flags | (AssemblyFlags)((int)
Assembly
.ProcessorArchitecture << 4);
561
builder.GetOrAddString(
Assembly
.Name),
562
Assembly
.Version ?? new Version(0, 0, 0, 0),
563
Assembly
.Culture is null ? default : builder.GetOrAddString(
Assembly
.Culture),
564
Assembly
.PublicKeyOrToken is null ? default : builder.GetOrAddBlob(
Assembly
.PublicKeyOrToken),
566
Assembly
.HashAlgorithm);
850
return
Assembly
is not null
851
&& string.Equals(assemblyReference.Name,
Assembly
.Name, StringComparison.OrdinalIgnoreCase)
1327
if (
Assembly
is not null && string.Equals(asmRef.Name,
Assembly
.Name, StringComparison.OrdinalIgnoreCase))