1 write to Kind
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\SemanticEditInfo.cs (1)
51
Kind
= kind;
12 references to Kind
Microsoft.CodeAnalysis.Features (12)
EditAndContinue\EditSession.cs (8)
881
if (edit.
Kind
== SemanticEditKind.Insert)
888
edit.
Kind
,
908
.Where(static edit => edit is { PartialType: not null,
Kind
: SemanticEditKind.Update })
983
var syntaxMaps = (edit.
Kind
== SemanticEditKind.Update) ? mergedUpdateEditSyntaxMaps[edit.PartialType.Value] : default;
984
mergedEditsBuilder.Add(new SemanticEdit(edit.
Kind
, oldSymbol, newSymbol, syntaxMaps.matchingNodes, syntaxMaps.runtimeRudeEdits));
1002
if (edit.
Kind
is SemanticEditKind.Update or SemanticEditKind.Delete)
1013
if (edit.
Kind
is SemanticEditKind.Update or SemanticEditKind.Insert or SemanticEditKind.Replace)
1018
else if (edit is {
Kind
: SemanticEditKind.Delete, DeletedSymbolContainer: not null })
EditAndContinue\SemanticEditInfo.cs (4)
97
/// If <see cref="
Kind
"/> is <see cref="SemanticEditKind.Insert"/> represents the inserted symbol in the new compilation.
98
/// If <see cref="
Kind
"/> is <see cref="SemanticEditKind.Update"/> represents the updated symbol in both compilations.
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.