13 references to Delete
Microsoft.CodeAnalysis (5)
Emit\EditAndContinue\SymbolChanges.cs (2)
40
/// Populated based on semantic edits with <see cref="SemanticEditKind.
Delete
"/>.
381
case SemanticEditKind.
Delete
:
Emit\SemanticEdit.cs (3)
89
/// from the later compilation if <paramref name="kind"/> is <see cref="SemanticEditKind.
Delete
"/>.
99
/// <paramref name="oldSymbol"/> or <paramref name="newSymbol"/> is null and the edit isn't a <see cref="SemanticEditKind.Insert"/> or <see cref="SemanticEditKind.
Delete
"/>, respectively.
155
if (kind == SemanticEditKind.
Delete
&& oldSymbol is not (IMethodSymbol or IPropertySymbol or IEventSymbol))
Microsoft.CodeAnalysis.Features (8)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
3919
/// Add <see cref="SemanticEditKind.
Delete
"/> edit for the specified symbol and its accessors.
EditAndContinue\EditSession.cs (2)
1002
if (edit.Kind is SemanticEditKind.Update or SemanticEditKind.
Delete
)
1018
else if (edit is { Kind: SemanticEditKind.
Delete
, DeletedSymbolContainer: not null })
EditAndContinue\SemanticEditInfo.cs (5)
49
Debug.Assert(kind == SemanticEditKind.
Delete
|| deletedSymbolContainer == null);
82
=> new(SemanticEditKind.
Delete
, symbol, syntaxMaps: default, partialType, deletedSymbolContainer);
92
/// <see cref="SemanticEditKind.Insert"/> or <see cref="SemanticEditKind.Update"/> or <see cref="SemanticEditKind.
Delete
"/>.
99
/// If <see cref="Kind"/> is <see cref="SemanticEditKind.
Delete
"/> represents the deleted symbol in the old compilation.
108
/// If <see cref="Kind"/> is <see cref="SemanticEditKind.
Delete
"/> represents the containing symbol in the new compilation.