1 write to ChangedSolution
Microsoft.CodeAnalysis.Workspaces (1)
CodeActions\Operations\ApplyChangesOperation.cs (1)
42=> ChangedSolution = changedSolution ?? throw new ArgumentNullException(nameof(changedSolution));
20 references to ChangedSolution
AnalyzerRunner (1)
CodeRefactoringRunner.cs (1)
104var changes = applyChangesOperation.ChangedSolution.GetChanges(document.Project.Solution);
Microsoft.CodeAnalysis.CodeStyle.LegacyTestFramework.UnitTestUtilities (1)
AbstractCodeActionOrUserDiagnosticTest.cs (1)
772result = Tuple.Create(workspace.CurrentSolution, applyChangesOperation.ChangedSolution);
Microsoft.CodeAnalysis.EditorFeatures (3)
CodeActions\CodeActionEditHandlerService.cs (3)
67var newSolution = await applyChanges.ChangedSolution.WithMergedLinkedFileChangesAsync( 190var updatedSolution = operations.OfType<ApplyChangesOperation>().FirstOrDefault()?.ChangedSolution ?? oldSolution; 206var newSolution = applyOperation.ChangedSolution;
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (2)
CodeActions\AbstractCodeActionOrUserDiagnosticTest.cs (1)
772result = Tuple.Create(workspace.CurrentSolution, applyChangesOperation.ChangedSolution);
Diagnostics\AbstractSuppressionAllCodeTests.cs (1)
114var newDocument = applyChangesOperation.ChangedSolution.Projects.Single().Documents.Single();
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (3)
Diagnostics\AbstractCrossLanguageUserDiagnosticTest.vb (2)
209Dim addedProjectReference = SolutionUtilities.GetSingleAddedProjectReference(workspace.CurrentSolution, edit.ChangedSolution) 213Dim projectTo = edit.ChangedSolution.GetProject(addedProjectReference.Item2.ProjectId)
Diagnostics\AdditionalFileDiagnosticsTests.vb (1)
56Dim updatedSolution = edit.ChangedSolution
Microsoft.CodeAnalysis.Features (3)
CodeRefactorings\AddMissingImports\AbstractAddMissingImportsFeatureService.cs (1)
224newSolution = applyChangesOperation.ChangedSolution;
GenerateConstructorFromMembers\AbstractGenerateConstructorFromMembersCodeRefactoringProvider.cs (1)
120return new IntentProcessorResult(applyChangesOperation.ChangedSolution, ImmutableArray.Create(priorDocument.Id), codeAction.Title, type.Name);
SyncNamespaces\AbstractSyncNamespacesService.cs (1)
148return applyChangesOperation.ChangedSolution;
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Handler\CodeActions\CodeActionResolveHandler.cs (4)
109var changes = applyChangesOperation.ChangedSolution.GetChanges(solution); 150applyChangesOperation.ChangedSolution.GetDocument, 156applyChangesOperation.ChangedSolution.GetAnalyzerConfigDocument, 162applyChangesOperation.ChangedSolution.GetAdditionalDocument,
Microsoft.CodeAnalysis.Workspaces (3)
CodeActions\CodeAction.cs (1)
279result.Add(new ApplyChangesOperation(await this.PostProcessChangesAsync(originalSolution, ac.ChangedSolution, cancellationToken).ConfigureAwait(false)));
CodeActions\Operations\ApplyChangesOperation.cs (2)
47=> workspace.TryApplyChanges(ChangedSolution, new ProgressTracker()); 50=> Task.FromResult(ApplyOrMergeChanges(workspace, originalSolution, ChangedSolution, progressTracker, cancellationToken));