1 instantiation of DeletedSourceTypeDefinition
Microsoft.CodeAnalysis (1)
Emit\EditAndContinue\DeletedSourceDefinition.cs (1)
63deletedType = new DeletedSourceTypeDefinition(typeDef, _typesUsedByDeletedMembers);
11 references to DeletedSourceTypeDefinition
Microsoft.CodeAnalysis (11)
Emit\EditAndContinue\DeletedSourceDefinition.cs (4)
19private readonly Dictionary<ITypeDefinition, DeletedSourceTypeDefinition> _typesUsedByDeletedMembers; 27/// we use the same <see cref="DeletedSourceTypeDefinition"/> instance for the method return type, and the parameter type. 29protected DeletedSourceDefinition(T oldDefinition, Dictionary<ITypeDefinition, DeletedSourceTypeDefinition> typesUsedByDeletedMembers) 61if (!_typesUsedByDeletedMembers.TryGetValue(typeDef, out var deletedType))
Emit\EditAndContinue\DeletedSourceGenericParameter.cs (1)
17public DeletedSourceGenericParameter(IGenericMethodParameter oldParameter, DeletedSourceMethodDefinition method, Dictionary<ITypeDefinition, DeletedSourceTypeDefinition> typesUsedByDeletedMembers)
Emit\EditAndContinue\DeletedSourceMethodDefinition.cs (1)
21public DeletedSourceMethodDefinition(IMethodDefinition oldMethod, MethodDefinitionHandle handle, ImmutableArray<byte> bodyIL, Dictionary<ITypeDefinition, DeletedSourceTypeDefinition> typesUsedByDeletedMembers)
Emit\EditAndContinue\DeletedSourceParameterDefinition.cs (1)
16public DeletedSourceParameterDefinition(IParameterDefinition oldParameter, Dictionary<ITypeDefinition, DeletedSourceTypeDefinition> typesUsedByDeletedMembers)
Emit\EditAndContinue\DeletedSourceTypeDefinition.cs (1)
20public DeletedSourceTypeDefinition(ITypeDefinition oldDefinition, Dictionary<ITypeDefinition, DeletedSourceTypeDefinition> typesUsedByDeletedMembers)
Emit\EditAndContinue\DeltaMetadataWriter.cs (3)
498var typesUsedByDeletedMembers = new Dictionary<ITypeDefinition, DeletedSourceTypeDefinition>(ReferenceEqualityComparer.Instance); 1564Debug.Assert(!_map.TryGetValue(index, out var other) || ((object)other == (object)item) || other is DeletedSourceTypeDefinition || item is DeletedSourceTypeDefinition);