32 references to SyntaxEditor
Microsoft.CodeAnalysis.CodeStyle.Fixes (8)
src\Analyzers\Core\CodeFixes\MakeMethodSynchronous\AbstractMakeMethodSynchronousCodeFixProvider.cs (1)
177var editor = new SyntaxEditor(root, currentSolution.Services);
src\Analyzers\Core\CodeFixes\RemoveAsyncModifier\AbstractRemoveAsyncModifierCodeFixProvider.cs (1)
188var editor = new SyntaxEditor(node, solutionServices);
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (1)
303var editor = new SyntaxEditor(root, document.Project.Solution.Services);
src\Analyzers\Core\CodeFixes\UnsealClass\AbstractUnsealClassCodeFixProvider.cs (1)
66var editor = new SyntaxEditor(root, document.Project.Solution.Services);
src\Analyzers\Core\CodeFixes\UseConditionalExpression\AbstractUseConditionalExpressionCodeFixProvider.cs (1)
56var nestedEditor = new SyntaxEditor(root, document.Project.Solution.Services);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\SyntaxEditorBasedCodeFixProvider.cs (1)
75var editor = new SyntaxEditor(root, document.Project.Solution.Services);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\InitializeParameter\AbstractInitializerParameterService.cs (1)
124var editor = new SyntaxEditor(root, document.Project.Solution.Services);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.cs (1)
84var editor = new SyntaxEditor(root, document.Project.Solution.Services);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
src\Analyzers\CSharp\CodeFixes\InlineDeclaration\CSharpInlineDeclarationCodeFixProvider.cs (1)
105var editor = new SyntaxEditor(currentRoot, document.Project.Solution.Services);
src\Analyzers\CSharp\CodeFixes\UseDeconstruction\CSharpUseDeconstructionCodeFixProvider.cs (1)
65var editor = new SyntaxEditor(root, document.Project.Solution.Services);
src\Analyzers\CSharp\CodeFixes\UseLocalFunction\CSharpUseLocalFunctionCodeFixProvider.cs (1)
161var editor = new SyntaxEditor(currentRoot, services);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpReplaceDiscardDeclarationsWithAssignmentsService.cs (1)
44var editor = new SyntaxEditor(memberDeclaration, document.Project.Solution.Services);
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
AutomaticCompletion\AutomaticLineEnderCommandHandler_Helpers.cs (1)
37var rootEditor = new SyntaxEditor(root, services);
Microsoft.CodeAnalysis.CSharp.Features (4)
CodeRefactorings\UseExplicitOrImplicitType\AbstractUseTypeCodeRefactoringProvider.cs (1)
121var editor = new SyntaxEditor(root, document.Project.Solution.Services);
src\Analyzers\CSharp\CodeFixes\InlineDeclaration\CSharpInlineDeclarationCodeFixProvider.cs (1)
105var editor = new SyntaxEditor(currentRoot, document.Project.Solution.Services);
src\Analyzers\CSharp\CodeFixes\UseDeconstruction\CSharpUseDeconstructionCodeFixProvider.cs (1)
65var editor = new SyntaxEditor(root, document.Project.Solution.Services);
src\Analyzers\CSharp\CodeFixes\UseLocalFunction\CSharpUseLocalFunctionCodeFixProvider.cs (1)
161var editor = new SyntaxEditor(currentRoot, services);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpReplaceDiscardDeclarationsWithAssignmentsService.cs (1)
44var editor = new SyntaxEditor(memberDeclaration, document.Project.Solution.Services);
Microsoft.CodeAnalysis.Features (2)
ConvertAutoPropertyToFullProperty\AbstractConvertAutoPropertyToFullPropertyCodeRefactoringProvider.cs (1)
81var editor = new SyntaxEditor(root, document.Project.Solution.Services);
src\Analyzers\Core\CodeFixes\RemoveAsyncModifier\AbstractRemoveAsyncModifierCodeFixProvider.cs (1)
188var editor = new SyntaxEditor(node, solutionServices);
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
src\Analyzers\VisualBasic\CodeFixes\RemoveUnnecessaryCast\VisualBasicRemoveUnnecessaryCastCodeFixProvider.vb (2)
102Dim innerEditor = New SyntaxEditor(root, document.Project.Solution.Services) 136Dim editor = New SyntaxEditor(root, document.Project.Solution.Services)
Microsoft.CodeAnalysis.VisualBasic.Features (2)
src\Analyzers\VisualBasic\CodeFixes\RemoveUnnecessaryCast\VisualBasicRemoveUnnecessaryCastCodeFixProvider.vb (2)
102Dim innerEditor = New SyntaxEditor(root, document.Project.Solution.Services) 136Dim editor = New SyntaxEditor(root, document.Project.Solution.Services)
Microsoft.CodeAnalysis.Workspaces (7)
CodeRefactorings\SyntaxEditorBasedCodeRefactoringProvider.cs (1)
71var editor = new SyntaxEditor(root, document.Project.Solution.Services);
Editing\DocumentEditor.cs (1)
19: base(root, document.Project.Solution.Services)
Editing\SyntaxEditor.cs (2)
65: this(root, (workspace ?? throw new ArgumentNullException(nameof(workspace))).Services.SolutionServices) 73: this(root, (services ?? throw new ArgumentNullException(nameof(services))).SolutionServices)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\SyntaxEditorBasedCodeFixProvider.cs (1)
75var editor = new SyntaxEditor(root, document.Project.Solution.Services);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\InitializeParameter\AbstractInitializerParameterService.cs (1)
124var editor = new SyntaxEditor(root, document.Project.Solution.Services);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.cs (1)
84var editor = new SyntaxEditor(root, document.Project.Solution.Services);
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Editing\SyntaxEditorTests.cs (1)
36=> new SyntaxEditor(root, EmptyWorkspace.Services.SolutionServices);