1 instantiation of ExportedTypeEntity
ILAssembler (1)
EntityRegistry.cs (1)
1104return GetOrCreateEntity((implementation as ExportedTypeEntity, @namespace, name), TableIndex.ExportedType, _seenExportedTypes, (key) => new(key.Item3, key.Item2, implementation), onCreateType);
13 references to ExportedTypeEntity
ILAssembler (13)
EntityRegistry.cs (9)
26private readonly Dictionary<(ExportedTypeEntity? ContainingType, string Namespace, string Name), ExportedTypeEntity> _seenExportedTypes = new(); 414foreach (ExportedTypeEntity exportedType in GetSeenEntities(TableIndex.ExportedType)) 1099public ExportedTypeEntity GetOrCreateExportedType(EntityBase? implementation, string @namespace, string name, Action<ExportedTypeEntity> onCreateType) 1104return GetOrCreateEntity((implementation as ExportedTypeEntity, @namespace, name), TableIndex.ExportedType, _seenExportedTypes, (key) => new(key.Item3, key.Item2, implementation), onCreateType); 1107public ExportedTypeEntity? FindExportedType(ExportedTypeEntity? containingType, string @namespace, string @name) 1109if (_seenExportedTypes.TryGetValue((containingType, @namespace, name), out var typeDef))
GrammarVisitor.cs (4)
1791var exp = _entityRegistry.GetOrCreateExportedType(impl, typeNamespace, name, exp => 2209var containing = ResolveExportedType(declarations[i].slashedName()); 2241EntityRegistry.ExportedTypeEntity? ResolveExportedType(CILParser.SlashedNameContext slashedName) 2254EntityRegistry.ExportedTypeEntity? exportedType = null;