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