37 references to Insert
Microsoft.CodeAnalysis.CSharp.Features (4)
Microsoft.CodeAnalysis.Features (19)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (19)
237AddSymbolEdits(ref result, EditKind.Insert, oldNode: null, oldSymbol: null, newNode, newSymbol, oldModel, newModel, topMatch, editMap, symbolCache, cancellationToken);
749if (edit.Kind is EditKind.Insert or EditKind.Update)
1733case EditKind.Insert:
1800GetDiagnosticSpan(newNode, EditKind.Insert),
1802[GetDisplayName(newNode, EditKind.Insert)]));
2058Debug.Assert(editMap[newNode] is EditKind.Update or EditKind.Insert);
2606syntacticEditKind = EditKind.Insert;
2837case EditKind.Insert:
2884HasEdit(editMap, GetSymbolDeclarationSyntax(newAssociatedMember, cancellationToken), EditKind.Insert);
2912GetDiagnosticSpan(newDeclaration, EditKind.Insert),
2914arguments: [GetDisplayName(newDeclaration, EditKind.Insert)]));
2954GetDiagnosticSpan(newDeclaration, EditKind.Insert),
2956arguments: [GetDisplayName(newDeclaration, EditKind.Insert)]));
3506result.Add((null, newSymbol, EditKind.Insert));
3880builder.Add((oldSymbol: null, newSymbol: newType, EditKind.Insert));
5711diagnostics.Add(new RudeEditDiagnostic(RudeEditKind.InsertNotSupportedByRuntime, GetDiagnosticSpan(newLambda, EditKind.Insert), newLambda, [GetDisplayName(newLambda, EditKind.Insert)]));
5719diagnostics.Add(new RudeEditDiagnostic(RudeEditKind.InsertLocalFunctionIntoInterfaceMethod, GetDiagnosticSpan(newLambda, EditKind.Insert), newLambda, [GetDisplayName(newLambda, EditKind.Insert)]));
Microsoft.CodeAnalysis.VisualBasic.Features (6)
Microsoft.CodeAnalysis.Workspaces (6)
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)