5 instantiations of SolutionChanges
Microsoft.CodeAnalysis.Features (1)
CodeFixes\Suppression\AbstractSuppressionBatchFixAllProvider.cs (1)
360var solutionChanges = new SolutionChanges(changedSolution, oldSolution);
Microsoft.CodeAnalysis.Workspaces (2)
CodeFixes\FixAllOccurrences\BatchFixAllProvider.cs (1)
170var changedDocumentIds = new SolutionChanges(changedSolution, solution).GetProjectChanges().SelectMany(p => p.GetChangedDocuments());
Workspace\Solution\Solution.cs (1)
1682return new SolutionChanges(this, oldSolution);
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
SolutionTests\SolutionWithSourceGeneratorTests.cs (2)
1335var changes = new SolutionChanges(newSolution, project.Solution); 1371var changes = new SolutionChanges(newSolution, project.Solution);
39 references to SolutionChanges
AnalyzerRunner (1)
CodeRefactoringRunner.cs (1)
103var changes = applyChangesOperation.ChangedSolution.GetChanges(document.Project.Solution);
GenerateDocumentationAndConfigFiles (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ISolutionExtensions.cs (1)
21var solutionChanges = newSolution.GetChanges(oldSolution);
Microsoft.CodeAnalysis.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ISolutionExtensions.cs (1)
21var solutionChanges = newSolution.GetChanges(oldSolution);
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ISolutionExtensions.cs (1)
21var solutionChanges = newSolution.GetChanges(oldSolution);
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ISolutionExtensions.cs (1)
21var solutionChanges = newSolution.GetChanges(oldSolution);
Microsoft.CodeAnalysis.EditorFeatures (6)
CodeActions\CodeActionEditHandlerService.cs (1)
197var changes = newSolution.GetChanges(oldSolution);
InlineRename\InlineRenameSession.cs (2)
862var changes = newSolution.GetChanges(_baseSolution); 915var finalChanges = Workspace.CurrentSolution.GetChanges(_baseSolution);
Preview\AbstractPreviewFactoryService.cs (1)
81var solutionChanges = newSolution.GetChanges(oldSolution);
Preview\SolutionChangeSummary.cs (1)
17public SolutionChangeSummary(Solution oldSolution, Solution newSolution, SolutionChanges changes)
Suggestions\RefineUsingCopilot\RefineUsingCopilotCodeAction.cs (1)
66var changes = newSolution.GetChanges(originalSolution);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Workspaces\EditorTestWorkspace.cs (1)
530internal override void ApplyMappedFileChanges(SolutionChanges solutionChanges)
Microsoft.CodeAnalysis.Features (2)
CodeFixes\Suppression\AbstractSuppressionBatchFixAllProvider.cs (1)
360var solutionChanges = new SolutionChanges(changedSolution, oldSolution);
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.cs (1)
223var solutionChanges = newSolution.GetChanges(oldSolution);
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Features\CodeCleanup\AbstractCodeCleanupService.cs (1)
263var solutionChanges = updatedDocument.Project.Solution.GetChanges(currentDocument.Project.Solution);
Handler\CodeActions\CodeActionResolveHelper.cs (1)
64var changes = applyChangesOperation.ChangedSolution.GetChanges(solution);
Handler\Rename\RenameHandler.cs (1)
65var solutionChanges = renamedSolution.GetChanges(oldSolution);
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ISolutionExtensions.cs (1)
21var solutionChanges = newSolution.GetChanges(oldSolution);
Microsoft.CodeAnalysis.Workspaces (12)
CodeActions\CodeAction_Cleanup.cs (1)
78var solutionChanges = changedSolution.GetChanges(originalSolution);
CodeActions\Operations\ApplyChangesOperation.cs (1)
79var solutionChanges = changedSolution.GetChanges(originalSolution);
Editing\SymbolEditor.cs (1)
69var solutionChanges = ChangedSolution.GetChanges(OriginalSolution);
LinkedFileDiffMerging\LinkedFileDiffMergingSession.cs (1)
20internal sealed class LinkedFileDiffMergingSession(Solution oldSolution, Solution newSolution, SolutionChanges solutionChanges)
Remote\RemoteUtilities.cs (1)
31var solutionChanges = newSolution.GetChanges(oldSolution);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ISolutionExtensions.cs (1)
21var solutionChanges = newSolution.GetChanges(oldSolution);
Workspace\Solution\Solution.cs (2)
1568SolutionChanges? solutionChanges = null, 1675public SolutionChanges GetChanges(Solution oldSolution)
Workspace\Workspace.cs (4)
294var changes = newSolution.GetChanges(oldSolution); 1585var solutionChanges = newSolution.GetChanges(oldSolution); 1680internal virtual void ApplyMappedFileChanges(SolutionChanges solutionChanges) 1685private void CheckAllowedSolutionChanges(SolutionChanges solutionChanges)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
SolutionUtilities.cs (2)
19var solutionDifferences = newSolution.GetChanges(oldSolution); 35var solutionDifferences = newSolution.GetChanges(oldSolution);
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
SolutionTests\SolutionWithSourceGeneratorTests.cs (2)
1335var changes = new SolutionChanges(newSolution, project.Solution); 1371var changes = new SolutionChanges(newSolution, project.Solution);
Microsoft.VisualStudio.LanguageServices (3)
Preview\PreviewEngine.cs (1)
106var changes = _newSolution.GetChanges(_oldSolution);
ProjectSystem\VisualStudioWorkspaceImpl.cs (2)
575internal override void ApplyMappedFileChanges(SolutionChanges solutionChanges) 601async Task<MultiDictionary<string, (TextChange TextChange, ProjectId ProjectId)>> GetMappedTextChangesAsync(SolutionChanges solutionChanges, CancellationToken cancellationToken)
Roslyn.Diagnostics.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ISolutionExtensions.cs (1)
21var solutionChanges = newSolution.GetChanges(oldSolution);
Text.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ISolutionExtensions.cs (1)
21var solutionChanges = newSolution.GetChanges(oldSolution);