Base:
12 references to TryApplyChanges
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (12)
VisualStudioMSBuildWorkspaceTests.cs (12)
2063
workspace.
TryApplyChanges
(solution.WithDocumentText(document.Id, newText, PreservationMode.PreserveIdentity));
2125
workspace.
TryApplyChanges
(newSolution);
2152
workspace.
TryApplyChanges
(newSolution);
2178
workspace.
TryApplyChanges
(newSolution);
2211
workspace.
TryApplyChanges
(workspace.CurrentSolution.AddAdditionalDocument(DocumentId.CreateNewId(csProjectId), "foo.xaml", SourceText.From("<foo></foo>")));
2221
workspace.
TryApplyChanges
(workspace.CurrentSolution.RemoveAdditionalDocument(xaml.Id));
2247
workspace.
TryApplyChanges
(workspace.CurrentSolution.WithDocumentText(doc.Id, SourceText.From(newText), PreservationMode.PreserveIdentity));
2277
workspace.
TryApplyChanges
(
2946
workspace.
TryApplyChanges
(project.AddAnalyzerReference(aref).Solution);
2951
workspace.
TryApplyChanges
(workspace.CurrentSolution.GetProject(project.Id).RemoveAnalyzerReference(aref).Solution);
2972
workspace.
TryApplyChanges
(workspace.CurrentSolution.GetProject(project.Id).RemoveProjectReference(pref).Solution);
2979
workspace.
TryApplyChanges
(workspace.CurrentSolution.GetProject(project.Id).AddProjectReference(pref).Solution);