Base:
method
TryApplyChanges
Microsoft.CodeAnalysis.Workspace.TryApplyChanges(Microsoft.CodeAnalysis.Solution)
12 references to TryApplyChanges
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (12)
VisualStudioMSBuildWorkspaceTests.cs (12)
2041
workspace.
TryApplyChanges
(solution.WithDocumentText(document.Id, newText, PreservationMode.PreserveIdentity));
2103
workspace.
TryApplyChanges
(newSolution);
2130
workspace.
TryApplyChanges
(newSolution);
2156
workspace.
TryApplyChanges
(newSolution);
2189
workspace.
TryApplyChanges
(workspace.CurrentSolution.AddAdditionalDocument(DocumentId.CreateNewId(csProjectId), "foo.xaml", SourceText.From("<foo></foo>")));
2199
workspace.
TryApplyChanges
(workspace.CurrentSolution.RemoveAdditionalDocument(xaml.Id));
2225
workspace.
TryApplyChanges
(workspace.CurrentSolution.WithDocumentText(doc.Id, SourceText.From(newText), PreservationMode.PreserveIdentity));
2255
workspace.
TryApplyChanges
(
2925
workspace.
TryApplyChanges
(project.AddAnalyzerReference(aref).Solution);
2930
workspace.
TryApplyChanges
(workspace.CurrentSolution.GetProject(project.Id).RemoveAnalyzerReference(aref).Solution);
2951
workspace.
TryApplyChanges
(workspace.CurrentSolution.GetProject(project.Id).RemoveProjectReference(pref).Solution);
2958
workspace.
TryApplyChanges
(workspace.CurrentSolution.GetProject(project.Id).AddProjectReference(pref).Solution);