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