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)
915
if (edit.
Kind
== SemanticEditKind.Insert)
922
edit.
Kind
,
942
.Where(static edit => edit is { PartialType: not null,
Kind
: SemanticEditKind.Update })
1017
var syntaxMaps = (edit.
Kind
== SemanticEditKind.Update) ? mergedUpdateEditSyntaxMaps[edit.PartialType.Value] : default;
1018
mergedEditsBuilder.Add(new SemanticEdit(edit.
Kind
, oldSymbol, newSymbol, syntaxMaps.matchingNodes, syntaxMaps.runtimeRudeEdits));
1036
if (edit.
Kind
is SemanticEditKind.Update or SemanticEditKind.Delete)
1047
if (edit.
Kind
is SemanticEditKind.Update or SemanticEditKind.Insert or SemanticEditKind.Replace)
1052
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.