15 instantiations of FakeTypeEntity
Microsoft.DotNet.ILAssembler (15)
Actions\GrammarActions.Signatures.References.cs (1)
210_ => new EntityRegistry.FakeTypeEntity(default(TypeDefinitionHandle))
Actions\GrammarActions.Types.References.cs (12)
56return new EntityRegistry.FakeTypeEntity(default(TypeDefinitionHandle)); 63return new EntityRegistry.FakeTypeEntity(default(TypeDefinitionHandle)); 68return new EntityRegistry.FakeTypeEntity(default(TypeDefinitionHandle)); 75return new EntityRegistry.FakeTypeEntity(default(TypeDefinitionHandle)); 89return new EntityRegistry.FakeTypeEntity(default(TypeDefinitionHandle)); 98new EntityRegistry.FakeTypeEntity(default(ModuleDefinitionHandle)), 106: new EntityRegistry.FakeTypeEntity(resolvedToken.Handle); 108return new EntityRegistry.FakeTypeEntity(default(TypeDefinitionHandle)); 154AssemblyTypeSpecificationValue assembly => new EntityRegistry.FakeTypeEntity( 157_ => new EntityRegistry.FakeTypeEntity(default(TypeDefinitionHandle)) 165? new EntityRegistry.FakeTypeEntity(MetadataTokens.ModuleReferenceHandle(0)) 166: new EntityRegistry.FakeTypeEntity(module.Handle);
EntityRegistry.cs (2)
921return new FakeTypeEntity(entityHandle); 926FakeTypeEntity reference = new(entityHandle);
12 references to FakeTypeEntity
Microsoft.DotNet.ILAssembler (12)
Actions\GrammarActions.Manifest.ExportedTypes.cs (1)
169if (entity is EntityRegistry.FakeTypeEntity)
Actions\GrammarActions.Types.References.cs (1)
161private EntityRegistry.FakeTypeEntity ResolveModuleTypeSpecification(string moduleName)
BlobBuilderExtensions.cs (1)
89else if (entity is EntityRegistry.FakeTypeEntity fakeEntity)
EntityRegistry.cs (9)
27private readonly Dictionary<(TableIndex Table, int RowNumber), List<FakeTypeEntity>> _pendingEntityReferences = new(); 250FakeTypeEntity fakeScope => fakeScope.ResolutionScopeColumnHandle, 457impl.InterfaceType is FakeTypeEntity fakeType ? fakeType.TypeColumnHandle : impl.InterfaceType.Handle); 788if (_pendingEntityReferences.Remove((table, rowNumber), out List<FakeTypeEntity>? pendingReferences)) 790foreach (FakeTypeEntity reference in pendingReferences) 924private FakeTypeEntity CreatePendingEntityReference(TableIndex table, int rowNumber, EntityHandle entityHandle) 926FakeTypeEntity reference = new(entityHandle); 927if (!_pendingEntityReferences.TryGetValue((table, rowNumber), out List<FakeTypeEntity>? pendingReferences)) 929_pendingEntityReferences.Add((table, rowNumber), pendingReferences = new List<FakeTypeEntity>());