Emit\EditAndContinue\DeltaMetadataWriter.cs (22)
35private readonly List<ITypeDefinition> _changedTypeDefs;
37private readonly Dictionary<ITypeDefinition, ImmutableArray<IMethodDefinition>> _deletedTypeMembers;
38private readonly IReadOnlyDictionary<ITypeDefinition, ArrayBuilder<IMethodDefinition>> _deletedMethodDefs;
40private readonly DefinitionIndex<ITypeDefinition> _typeDefs;
78IReadOnlyDictionary<ITypeDefinition, ArrayBuilder<IMethodDefinition>> deletedMethodDefs,
102_changedTypeDefs = new List<ITypeDefinition>();
103_deletedTypeMembers = new Dictionary<ITypeDefinition, ImmutableArray<IMethodDefinition>>(ReferenceEqualityComparer.Instance);
105_typeDefs = new DefinitionIndex<ITypeDefinition>(this.TryGetExistingTypeDefIndex, sizes[(int)TableIndex.TypeDef]);
294foreach (var def in _changedTypeDefs)
335protected override bool TryGetTypeDefinitionHandle(ITypeDefinition def, out TypeDefinitionHandle handle)
342protected override TypeDefinitionHandle GetTypeDefinitionHandle(ITypeDefinition def)
347protected override ITypeDefinition GetTypeDef(TypeDefinitionHandle handle)
352protected override IReadOnlyList<ITypeDefinition> GetTypeDefs()
495internal static IReadOnlyDictionary<ITypeDefinition, ArrayBuilder<IMethodDefinition>> CreateDeletedMethodsDefs(EmitContext context, SymbolChanges changes)
497var result = new Dictionary<ITypeDefinition, ArrayBuilder<IMethodDefinition>>(ReferenceEqualityComparer.Instance);
498var typesUsedByDeletedMembers = new Dictionary<ITypeDefinition, DeletedSourceTypeDefinition>(ReferenceEqualityComparer.Instance);
507void recurse(ITypeDefinition typeDef)
521ArrayBuilder<IMethodDefinition>? getDeletedMethodDefs(ITypeDefinition typeDef)
590protected override void CreateIndicesForNonTypeMembers(ITypeDefinition typeDef)
1604private bool TryGetExistingTypeDefIndex(ITypeDefinition item, out int index)
1823private readonly IReadOnlyDictionary<ITypeDefinition, ImmutableArray<IMethodDefinition>> _deletedTypeMembers;
1899public override void Visit(ITypeDefinition typeDefinition)