1 write to Assembly
ILAssembler (1)
Actions\GrammarActions.Manifest.Assembly.cs (1)
98
_entityRegistry.
Assembly
??= new EntityRegistry.AssemblyEntity(assemblyName);
24 references to Assembly
ILAssembler (24)
Actions\GrammarActions.BuildImage.cs (3)
37
if (_entityRegistry.
Assembly
is not null && (_options.Debug || _options.DebugMode is not null))
794
if (_entityRegistry.
Assembly
is null)
844
customAttr.Owner = _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)
114
if (
Assembly
is not null)
116
((IHasHandle)
Assembly
).SetHandle(MetadataTokens.EntityHandle(0x20000001));
594
if (
Assembly
is not null)
597
var assemblyFlags =
Assembly
.Flags | (AssemblyFlags)((int)
Assembly
.ProcessorArchitecture << 4);
599
builder.GetOrAddString(
Assembly
.Name),
600
Assembly
.Version ?? new Version(0, 0, 0, 0),
601
Assembly
.Culture is null ? default : builder.GetOrAddString(
Assembly
.Culture),
602
Assembly
.PublicKeyOrToken is null ? default : builder.GetOrAddBlob(
Assembly
.PublicKeyOrToken),
604
Assembly
.HashAlgorithm);
857
return
Assembly
is not null
858
&& string.Equals(assemblyReference.Name,
Assembly
.Name, StringComparison.OrdinalIgnoreCase)
1280
if (
Assembly
is not null && string.Equals(asmRef.Name,
Assembly
.Name, StringComparison.OrdinalIgnoreCase))