35 references to ApplyChangesOperation
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
NamingStyleCodeFixProvider.cs (2)
156new ApplyChangesOperation(await _createChangedSolutionAsync(cancellationToken).ConfigureAwait(false))); 161var codeAction = new ApplyChangesOperation(newSolution);
Microsoft.CodeAnalysis.CSharp.Features (2)
CodeRefactorings\EnableNullable\EnableNullableCodeRefactoringProvider.cs (1)
276return new CodeActionOperation[] { new ApplyChangesOperation(changedSolution) };
CodeRefactorings\EnableNullable\EnableNullableCodeRefactoringProvider.FixAllProvider.cs (1)
75return new CodeActionOperation[] { new ApplyChangesOperation(changedSolution) };
Microsoft.CodeAnalysis.EditorFeatures (1)
RenameTracking\RenameTrackingTaggerProvider.RenameTrackingCodeAction.cs (1)
78(CodeActionOperation)new ApplyChangesOperation(solutionSet.RenamedSolution));
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (1)
FixAllGetFixesService.cs (1)
236result.Add(new ApplyChangesOperation(newSolution));
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Suggestions\FixAll\FixAllGetFixesService.cs (1)
236result.Add(new ApplyChangesOperation(newSolution));
Microsoft.CodeAnalysis.Features (23)
AddImport\CodeActions\AssemblyReferenceCodeAction.cs (2)
45var operation = new ApplyChangesOperation(newProject.Solution); 107return new ApplyChangesOperation(newProject.Solution);
AddImport\CodeActions\MetadataSymbolReferenceCodeAction.cs (1)
35return Task.FromResult<CodeActionOperation?>(new ApplyChangesOperation(project.AddMetadataReference(reference).Solution));
AddImport\CodeActions\ProjectSymbolReferenceCodeAction.cs (1)
47var applyOperation = new ApplyChangesOperation(projectWithAddedReference.Solution);
AddImport\CodeActions\SymbolReference.SymbolReferenceCodeAction.cs (1)
63return updatedProject ?? new ApplyChangesOperation(updatedDocument.Project.Solution);
AddMissingReference\AddMissingReferenceCodeAction.cs (1)
90new ApplyChangesOperation(_project.AddProjectReference(_projectReferenceToAdd).Solution)));
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.AbstractGlobalSuppressMessageCodeAction.cs (1)
35new ApplyChangesOperation(changedSuppressionDocument.Project.Solution),
CodeRefactorings\MoveType\AbstractMoveTypeService.Editor.cs (1)
53return ImmutableArray.Create<CodeActionOperation>(new ApplyChangesOperation(solution));
CodeRefactorings\MoveType\AbstractMoveTypeService.RenameFileEditor.cs (1)
44new ApplyChangesOperation(newSolution));
CodeRefactorings\SyncNamespace\AbstractSyncNamespaceCodeRefactoringProvider.MoveFileCodeAction.cs (1)
54new ApplyChangesOperation(solution),
ExtractClass\ExtractClassWithDialogCodeAction.cs (1)
146return new[] { new ApplyChangesOperation(finalSolution) };
ExtractInterface\ExtractInterfaceCodeAction.cs (1)
52new ApplyChangesOperation(extractInterfaceResult.UpdatedSolution),
GenerateOverrides\GenerateOverridesWithDialogCodeAction.cs (1)
95new ApplyChangesOperation(newDocument.Project.Solution),
GenerateType\AbstractGenerateTypeService.Editor.cs (4)
376return new CodeActionOperation[] { new ApplyChangesOperation(updatedSolution), new OpenDocumentOperation(documentId) }; 407return new CodeActionOperation[] { new ApplyChangesOperation(codeGenResult.Project.Solution) }; 471return new CodeActionOperation[] { new ApplyChangesOperation(updatedSolution) }; 572return new CodeActionOperation[] { new ApplyChangesOperation(codeGenResult.Project.Solution) };
MoveStaticMembers\MoveStaticMembersWithDialogCodeAction.cs (2)
91return new CodeActionOperation[] { new ApplyChangesOperation(fixedSolution) }; 144return new CodeActionOperation[] { new ApplyChangesOperation(movedSolution) };
MoveToNamespace\AbstractMoveToNamespaceCodeAction.cs (1)
76operations.Add(new ApplyChangesOperation(moveToNamespaceResult.UpdatedSolution));
NamingStyleCodeFixProvider.cs (2)
156new ApplyChangesOperation(await _createChangedSolutionAsync(cancellationToken).ConfigureAwait(false))); 161var codeAction = new ApplyChangesOperation(newSolution);
PullMemberUp\Dialog\PullMemberUpWithDialogCodeAction.cs (1)
53return new[] { new ApplyChangesOperation(changedSolution) };
Microsoft.CodeAnalysis.Workspaces (2)
CodeActions\CodeAction.cs (2)
193return new CodeActionOperation[] { new ApplyChangesOperation(changedSolution) }; 279result.Add(new ApplyChangesOperation(await this.PostProcessChangesAsync(originalSolution, ac.ChangedSolution, cancellationToken).ConfigureAwait(false)));
Microsoft.VisualStudio.LanguageServices (2)
TableDataSource\Suppression\VisualStudioDiagnosticListTableCommandHandler.cs (1)
205var operations = ImmutableArray.Create<CodeActionOperation>(new ApplyChangesOperation(newSolution));
TableDataSource\Suppression\VisualStudioSuppressionFixService.cs (1)
391var operations = ImmutableArray.Create<CodeActionOperation>(new ApplyChangesOperation(newSolution));
Microsoft.VisualStudio.LanguageServices.Implementation (1)
SolutionExplorer\AnalyzersCommandHandler.cs (1)
466var operations = ImmutableArray.Create<CodeActionOperation>(new ApplyChangesOperation(newSolution));