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();
577foreach (ExportedTypeEntity exportedType in GetSeenEntities(TableIndex.ExportedType))
1918public ExportedTypeEntity GetOrCreateExportedType(EntityBase? implementation, string @namespace, string name, Action<ExportedTypeEntity> onCreateType)
1920var key = (implementation as ExportedTypeEntity, @namespace, name);
1921if (implementation is ExportedTypeEntity)
1931var entity = new ExportedTypeEntity(name, @namespace, implementation);
1938public ExportedTypeEntity? FindExportedType(ExportedTypeEntity? containingType, string @namespace, string @name)
1940if (_seenExportedTypes.TryGetValue((containingType, @namespace, name), out var typeDef))