12 references to ApplyChangeToWorkspace
Microsoft.CodeAnalysis.LanguageServer (1)
FileBasedPrograms\FileBasedProgramsProjectSystem.cs (1)
96_workspaceFactory.MiscellaneousFilesWorkspaceProjectFactory.ApplyChangeToWorkspace(workspace => workspace.OnProjectAdded(projectInfo));
Microsoft.CodeAnalysis.Workspaces (7)
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (5)
135_project._projectSystemProjectFactory.ApplyChangeToWorkspace(w => _documentAddAction(w, documentInfo)); 193_project._projectSystemProjectFactory.ApplyChangeToWorkspace(w => 241_project._projectSystemProjectFactory.ApplyChangeToWorkspace(w => _documentAddAction(w, documentInfo)); 306_project._projectSystemProjectFactory.ApplyChangeToWorkspace(w => _documentRemoveAction(w, documentId)); 358_project._projectSystemProjectFactory.ApplyChangeToWorkspace(w =>
Workspace\ProjectSystem\ProjectSystemProject.cs (1)
1389_projectSystemProjectFactory.ApplyChangeToWorkspace(w =>
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (1)
304/// <remarks>This is needed to synchronize with <see cref="ApplyChangeToWorkspace(Action{Workspace})" /> to avoid any races. This
Microsoft.VisualStudio.LanguageServices (4)
ProjectSystem\VisualStudioWorkspaceImpl.OpenFileTracker.cs (3)
98_projectSystemProjectFactory.ApplyChangeToWorkspace(w => 272_projectSystemProjectFactory.ApplyChangeToWorkspace(w => 314_projectSystemProjectFactory.ApplyChangeToWorkspace(w =>
ProjectSystem\VisualStudioWorkspaceImpl.SolutionAnalyzerSetterService.cs (1)
29=> workspace.ProjectSystemProjectFactory.ApplyChangeToWorkspace(w => w.SetCurrentSolution(s => s.WithAnalyzerReferences(references), WorkspaceChangeKind.SolutionChanged));