25 references to ChangedSolution
AnalyzerRunner (1)
CodeRefactoringRunner.cs (1)
103var changes = applyChangesOperation.ChangedSolution.GetChanges(document.Project.Solution);
Microsoft.Analyzers.Extra.Tests (2)
Resources\RoslynTestUtils.cs (2)
362var solution = operations.OfType<ApplyChangesOperation>().Single().ChangedSolution; 456var solution = operations.OfType<ApplyChangesOperation>().Single().ChangedSolution;
Microsoft.Analyzers.Local.Tests (2)
Resources\RoslynTestUtils.cs (2)
363var solution = operations.OfType<ApplyChangesOperation>().Single().ChangedSolution; 457var solution = operations.OfType<ApplyChangesOperation>().Single().ChangedSolution;
Microsoft.AspNetCore.Analyzer.Testing (1)
CodeFixRunner.cs (1)
64return Assert.Single(operations.OfType<ApplyChangesOperation>()).ChangedSolution;
Microsoft.AspNetCore.Components.Analyzers.Tests (1)
Helpers\CodeFixVerifier.Helper.cs (1)
29var solution = operations.OfType<ApplyChangesOperation>().Single().ChangedSolution;
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (1)
Helpers\CodeFixVerifier.Helper.cs (1)
29var solution = operations.OfType<ApplyChangesOperation>().Single().ChangedSolution;
Microsoft.CodeAnalysis.EditorFeatures (3)
CodeActions\CodeActionEditHandlerService.cs (3)
57var newSolution = await applyChanges.ChangedSolution.WithMergedLinkedFileChangesAsync( 180var updatedSolution = operations.OfType<ApplyChangesOperation>().FirstOrDefault()?.ChangedSolution ?? oldSolution; 196var newSolution = applyOperation.ChangedSolution;
Microsoft.CodeAnalysis.Features (3)
CodeRefactorings\AddMissingImports\AbstractAddMissingImportsFeatureService.cs (1)
210newSolution = applyChangesOperation.ChangedSolution;
GenerateConstructors\AbstractGenerateConstructorsCodeRefactoringProvider.cs (1)
123return new IntentProcessorResult(applyChangesOperation.ChangedSolution, [priorDocument.Id], codeAction.Title, type.Name);
SyncNamespaces\AbstractSyncNamespacesService.cs (1)
149return applyChangesOperation.ChangedSolution;
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\CodeActions\CodeActionResolveHelper.cs (2)
63var changes = applyChangesOperation.ChangedSolution.GetChanges(solution); 64var newSolution = await applyChangesOperation.ChangedSolution.WithMergedLinkedFileChangesAsync(solution, changes, cancellationToken: cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (3)
CodeActions\CodeAction.cs (1)
433result.Add(new ApplyChangesOperation(await PostProcessChangesAsync(originalSolution, ac.ChangedSolution, cancellationToken).ConfigureAwait(false)));
CodeActions\Operations\ApplyChangesOperation.cs (2)
41=> workspace.TryApplyChanges(ChangedSolution, CodeAnalysisProgress.None); 44=> Task.FromResult(ApplyOrMergeChanges(workspace, originalSolution, ChangedSolution, progressTracker, cancellationToken));
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
497var solution = operations.OfType<ApplyChangesOperation>().Single().ChangedSolution;
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
497var solution = operations.OfType<ApplyChangesOperation>().Single().ChangedSolution;
Microsoft.Gen.Logging.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
497var solution = operations.OfType<ApplyChangesOperation>().Single().ChangedSolution;
Microsoft.Gen.MetadataExtractor.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
497var solution = operations.OfType<ApplyChangesOperation>().Single().ChangedSolution;
Microsoft.Gen.Metrics.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
497var solution = operations.OfType<ApplyChangesOperation>().Single().ChangedSolution;
Microsoft.Gen.MetricsReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
497var solution = operations.OfType<ApplyChangesOperation>().Single().ChangedSolution;