1 instantiation of ExportedTypeEntity
ILAssembler (1)
EntityRegistry.cs (1)
1755
return GetOrCreateEntity((implementation as ExportedTypeEntity, @namespace, name), TableIndex.ExportedType, _seenExportedTypes, (key) =>
new
(key.Item3, key.Item2, implementation), onCreateType);
14 references to ExportedTypeEntity
ILAssembler (14)
Actions\GrammarActions.Manifest.ExportedTypes.cs (5)
113
EntityRegistry.
ExportedTypeEntity
exportedType =
189
EntityRegistry.
ExportedTypeEntity
? containingType =
239
EntityRegistry.
ExportedTypeEntity
=> 2,
244
private EntityRegistry.
ExportedTypeEntity
? ResolveExportedType(
256
EntityRegistry.
ExportedTypeEntity
? exportedType = null;
EntityRegistry.cs (9)
26
private readonly Dictionary<(
ExportedTypeEntity
? ContainingType, string Namespace, string Name),
ExportedTypeEntity
> _seenExportedTypes = new();
615
foreach (
ExportedTypeEntity
exportedType in GetSeenEntities(TableIndex.ExportedType))
1750
public
ExportedTypeEntity
GetOrCreateExportedType(EntityBase? implementation, string @namespace, string name, Action<
ExportedTypeEntity
> onCreateType)
1755
return GetOrCreateEntity((implementation as
ExportedTypeEntity
, @namespace, name), TableIndex.ExportedType, _seenExportedTypes, (key) => new(key.Item3, key.Item2, implementation), onCreateType);
1758
public
ExportedTypeEntity
? FindExportedType(
ExportedTypeEntity
? containingType, string @namespace, string @name)
1760
if (_seenExportedTypes.TryGetValue((containingType, @namespace, name), out
var
typeDef))