1 write to Kind
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\SemanticEditInfo.cs (1)
51
Kind
= kind;
17 references to Kind
Microsoft.CodeAnalysis.Features (12)
EditAndContinue\EditSession.cs (8)
842
if (edit.
Kind
is SemanticEditKind.Update or SemanticEditKind.Delete)
853
if (edit.
Kind
is SemanticEditKind.Update or SemanticEditKind.Insert or SemanticEditKind.Replace)
858
else if (edit.
Kind
== SemanticEditKind.Delete && edit.DeletedSymbolContainer is not null)
880
if (edit.
Kind
== SemanticEditKind.Insert)
887
edit.
Kind
,
909
.Where(edit => edit is { PartialType: not null,
Kind
: SemanticEditKind.Update })
946
var syntaxMaps = (edit.
Kind
== SemanticEditKind.Update) ? mergedUpdateEditSyntaxMaps[edit.PartialType.Value] : default;
947
mergedEditsBuilder.Add(new SemanticEdit(edit.
Kind
, oldSymbol, newSymbol, syntaxMaps.matchingNodes, syntaxMaps.runtimeRudeEdits));
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.
Microsoft.CodeAnalysis.Features.Test.Utilities (5)
EditAndContinue\EditAndContinueTestVerifier.cs (5)
314
actualSemanticEdits = actualSemanticEdits.Sort((x, y) => CompareEdits(x.Symbol, x.
Kind
, y.Symbol, y.
Kind
));
325
actualSemanticEdits.Select(e => $"{e.
Kind
}: {e.Symbol.Resolve(e.
Kind
== SemanticEditKind.Delete ? oldCompilation : newCompilation).Symbol}"),
334
Assert.Equal(editKind, actualSemanticEdit.
Kind
);