2 instantiations of AssemblyReferenceEntity
Microsoft.DotNet.ILAssembler (2)
EntityRegistry.cs (2)
905return GetOrCreateEntity(name, TableIndex.AssemblyRef, _seenAssemblyRefs, _ => new(name), onCreateAssemblyReference); 1781return GetOrCreateEntity(name, TableIndex.AssemblyRef, _seenAssemblyRefs, _ => new AssemblyReferenceEntity(name), entity =>
20 references to AssemblyReferenceEntity
Microsoft.DotNet.ILAssembler (20)
Actions\GrammarActions.Manifest.Assembly.cs (1)
138if (target is not EntityRegistry.AssemblyReferenceEntity assemblyReference ||
Actions\GrammarActions.Manifest.ExportedTypes.cs (1)
252EntityRegistry.AssemblyReferenceEntity => 3,
Actions\GrammarActions.Manifest.References.cs (2)
35private EntityRegistry.AssemblyReferenceEntity MaterializeAssemblyReferenceHeader( 57EntityRegistry.AssemblyReferenceEntity entity =
Actions\GrammarActions.Manifest.Resources.cs (1)
126when implementation is not EntityRegistry.AssemblyReferenceEntity:
EntityRegistry.cs (15)
20private readonly Dictionary<string, AssemblyReferenceEntity> _seenAssemblyRefs = new(StringComparer.OrdinalIgnoreCase); 583foreach (AssemblyReferenceEntity asmRef in GetSeenEntities(TableIndex.AssemblyRef)) 764return type is TypeReferenceEntity { Namespace: "System", Name: "ValueType", ResolutionScope: AssemblyReferenceEntity scope } 797AssemblyReferenceEntity coreAsmRef = GetCoreLibAssemblyReference(); 804public AssemblyReferenceEntity GetCoreLibAssemblyReference() 889case AssemblyReferenceEntity assemblyReference: 903public AssemblyReferenceEntity GetOrCreateAssemblyReference(string name, Action<AssemblyReferenceEntity> onCreateAssemblyReference) 968&& resolutionContext is AssemblyReferenceEntity asmRefScope 971var preferredCoreLib = GetCoreLibAssemblyReference(); 1004if (resolutionContext is AssemblyReferenceEntity asmRef) 1316if (resolutionScope is AssemblyReferenceEntity asmRef) 1770public AssemblyReferenceEntity? FindAssemblyReference(string name) 1772if (_seenAssemblyRefs.TryGetValue(name, out var asmRef)) 1779public AssemblyReferenceEntity GetOrCreateAssemblyReference(string name, Version version, string? culture, BlobBuilder? publicKeyOrToken, AssemblyFlags flags, ProcessorArchitecture architecture)