2 instantiations of AssemblyReferenceEntity
Microsoft.DotNet.ILAssembler (2)
EntityRegistry.cs (2)
865return GetOrCreateEntity(name, TableIndex.AssemblyRef, _seenAssemblyRefs, _ => new(name), onCreateAssemblyReference); 1903return 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); 545foreach (AssemblyReferenceEntity asmRef in GetSeenEntities(TableIndex.AssemblyRef)) 716return type is TypeReferenceEntity { Namespace: "System", Name: "ValueType", ResolutionScope: AssemblyReferenceEntity scope } 749AssemblyReferenceEntity coreAsmRef = GetCoreLibAssemblyReference(); 756public AssemblyReferenceEntity GetCoreLibAssemblyReference() 849case AssemblyReferenceEntity assemblyReference: 863public AssemblyReferenceEntity GetOrCreateAssemblyReference(string name, Action<AssemblyReferenceEntity> onCreateAssemblyReference) 949&& resolutionContext is AssemblyReferenceEntity asmRefScope 952var preferredCoreLib = GetCoreLibAssemblyReference(); 990if (resolutionContext is AssemblyReferenceEntity asmRef) 1325if (resolutionScope is AssemblyReferenceEntity asmRef) 1892public AssemblyReferenceEntity? FindAssemblyReference(string name) 1894if (_seenAssemblyRefs.TryGetValue(name, out var asmRef)) 1901public AssemblyReferenceEntity GetOrCreateAssemblyReference(string name, Version version, string? culture, BlobBuilder? publicKeyOrToken, AssemblyFlags flags, ProcessorArchitecture architecture)