18 references to ApplyChangeToWorkspace
Microsoft.CodeAnalysis.Workspaces (14)
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (6)
123
_project._projectSystemProjectFactory.
ApplyChangeToWorkspace
(w => _documentAddAction(w, documentInfo));
181
_project._projectSystemProjectFactory.
ApplyChangeToWorkspace
(w =>
229
_project._projectSystemProjectFactory.
ApplyChangeToWorkspace
(w => _documentAddAction(w, documentInfo));
294
_project._projectSystemProjectFactory.
ApplyChangeToWorkspace
(w => _documentRemoveAction(w, documentId));
346
_project._projectSystemProjectFactory.
ApplyChangeToWorkspace
(w =>
466
_project._projectSystemProjectFactory.
ApplyChangeToWorkspace
(w =>
Workspace\ProjectSystem\ProjectSystemProject.cs (7)
925
_projectSystemProjectFactory.
ApplyChangeToWorkspace
(w => w.OnAnalyzerReferenceAdded(Id, visualStudioAnalyzer.GetReference()));
974
_projectSystemProjectFactory.
ApplyChangeToWorkspace
(w => w.OnAnalyzerReferenceRemoved(Id, visualStudioAnalyzer.GetReference()));
1052
_projectSystemProjectFactory.
ApplyChangeToWorkspace
(w =>
1122
_projectSystemProjectFactory.
ApplyChangeToWorkspace
(w =>
1172
_projectSystemProjectFactory.
ApplyChangeToWorkspace
(w => w.OnProjectReferenceAdded(Id, projectReference));
1251
_projectSystemProjectFactory.
ApplyChangeToWorkspace
(w => w.OnProjectReferenceRemoved(Id, projectReference));
1282
_projectSystemProjectFactory.
ApplyChangeToWorkspace
(w =>
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (1)
223
/// <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)
104
_projectSystemProjectFactory.
ApplyChangeToWorkspace
(w =>
278
_projectSystemProjectFactory.
ApplyChangeToWorkspace
(w =>
320
_projectSystemProjectFactory.
ApplyChangeToWorkspace
(w =>
ProjectSystem\VisualStudioWorkspaceImpl.SolutionAnalyzerSetterService.cs (1)
38
=> _workspace.ProjectSystemProjectFactory.
ApplyChangeToWorkspace
(w => w.SetCurrentSolution(s => s.WithAnalyzerReferences(references), WorkspaceChangeKind.SolutionChanged));