2 instantiations of ExportedTypeEntity
Microsoft.DotNet.ILAssembler (2)
17 references to ExportedTypeEntity
Microsoft.DotNet.ILAssembler (17)
EntityRegistry.cs (11)
26private readonly Dictionary<(ExportedTypeEntity? ContainingType, string Namespace, string Name), ExportedTypeEntity> _seenExportedTypes = new();
620foreach (ExportedTypeEntity exportedType in GetSeenEntities(TableIndex.ExportedType))
1796public ExportedTypeEntity GetOrCreateExportedType(EntityBase? implementation, string @namespace, string name, Action<ExportedTypeEntity> onCreateType)
1798var key = (implementation as ExportedTypeEntity, @namespace, name);
1799if (implementation is ExportedTypeEntity)
1809var entity = new ExportedTypeEntity(name, @namespace, implementation);
1816public ExportedTypeEntity? FindExportedType(ExportedTypeEntity? containingType, string @namespace, string @name)
1818if (_seenExportedTypes.TryGetValue((containingType, @namespace, name), out var typeDef))