1 instantiation of ProjectChanges
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\Project.cs (1)
513return new ProjectChanges(this, oldProject);
43 references to ProjectChanges
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ISolutionExtensions.cs (1)
22foreach (var projectChanges in solutionChanges.GetProjectChanges())
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (2)
EditAndContinue\CSharpEditAndContinueAnalyzerTests.cs (2)
668var changes = newProject.GetChanges(oldProject); 714var changes = newProject.GetChanges(oldProject);
Microsoft.CodeAnalysis.EditorFeatures (4)
CodeActions\CodeActionEditHandlerService.cs (1)
211var projectChange = projectChanges.Single();
Preview\AbstractPreviewFactoryService.cs (2)
84foreach (var projectChanges in solutionChanges.GetProjectChanges()) 226private bool ProjectReferencesChanged(ProjectChanges projectChanges)
Preview\SolutionChangeSummary.cs (1)
22foreach (var p in changes.GetProjectChanges())
Microsoft.CodeAnalysis.Features (4)
CodeRefactorings\AddMissingImports\AbstractAddMissingImportsFeatureService.cs (1)
203private static async Task<(ProjectChanges, IEnumerable<TextChange>)> GetChangesForCodeActionAsync(
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.cs (3)
231foreach (var projectChanges in solutionChanges.GetProjectChanges()) 413private async Task EnqueueWorkItemAsync(ProjectChanges projectChanges) 430private async Task EnqueueProjectConfigurationChangeWorkItemAsync(ProjectChanges projectChanges)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\CodeActions\CodeActionResolveHelper.cs (1)
76foreach (var projectChange in projectChanges)
Microsoft.CodeAnalysis.Workspaces (14)
CodeActions\Operations\ApplyChangesOperation.cs (1)
94foreach (var changedProject in solutionChanges.GetProjectChanges())
Editing\SymbolEditor.cs (1)
71foreach (var projectChanges in solutionChanges.GetProjectChanges())
Remote\RemoteUtilities.cs (1)
30foreach (var projectChange in solutionChanges.GetProjectChanges())
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ISolutionExtensions.cs (1)
22foreach (var projectChanges in solutionChanges.GetProjectChanges())
Workspace\Solution\Project.cs (1)
506public ProjectChanges GetChanges(Project oldProject)
Workspace\Solution\SolutionChanges.cs (1)
33public IEnumerable<ProjectChanges> GetProjectChanges()
Workspace\Workspace.cs (8)
310foreach (var projectChanges in changes.GetProjectChanges()) 1575foreach (var projectChanges in projectChangesList) 1621private void ApplyDocumentsInfoChange(ImmutableArray<ProjectChanges> projectChanges) 1625foreach (var projectChange in projectChanges) 1684foreach (var projectChanges in solutionChanges.GetProjectChanges()) 1690private void CheckAllowedProjectChanges(ProjectChanges projectChanges) 1861protected virtual void ApplyProjectChanges(ProjectChanges projectChanges) 1993ProjectChanges projectChanges, DocumentId documentId)
Microsoft.CodeAnalysis.Workspaces.MSBuild (3)
MSBuild\MSBuildWorkspace.cs (3)
284private static bool HasProjectFileChanges(ProjectChanges changes) 299/// The loaded project file that we are currently applying changes to. This is set in <see cref="ApplyProjectChanges(ProjectChanges)"/> if we're modifying a project that is going to require 328protected override void ApplyProjectChanges(ProjectChanges projectChanges)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (10)
SolutionUtilities.cs (9)
17public static ProjectChanges GetSingleChangedProjectChanges(Solution oldSolution, Solution newSolution) 33private static IEnumerable<ProjectChanges> GetChangedProjectChanges(Solution oldSolution, Solution newSolution) 41var projectDifferences = GetSingleChangedProjectChanges(oldSolution, newSolution); 49var projectDifferences = GetSingleChangedProjectChanges(oldSolution, newSolution); 59foreach (var projectDifference in projectsDifference) 69var projectDifferences = GetSingleChangedProjectChanges(oldSolution, newSolution); 79foreach (var projectDifference in projectsDifference) 91foreach (var projectDifference in projectsDifference) 101var projectChanges = GetSingleChangedProjectChanges(oldSolution, newSolution);
Workspaces\TestWorkspace`1.cs (1)
465protected override void ApplyProjectChanges(ProjectChanges projectChanges)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
SolutionTests\SolutionTests.cs (1)
2999var changes = newSolution.GetChanges(solution).GetProjectChanges().Single();
Microsoft.VisualStudio.LanguageServices (3)
Preview\ReferenceChange.cs (2)
26public static void AppendReferenceChanges(IEnumerable<ProjectChanges> projectChangesList, PreviewEngine engine, ArrayBuilder<AbstractChange> builder) 28foreach (var projectChanges in projectChangesList)
ProjectSystem\VisualStudioWorkspaceImpl.cs (1)
658foreach (var projectChanges in solutionChanges.GetProjectChanges())