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));