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