8 references to RemoveAdditionalDocument
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Workspaces\WorkspaceTests_EditorFeatures.cs (1)
1249newSolution = oldSolution.RemoveAdditionalDocument(newDocId);
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Solution\Project.cs (1)
779=> this.Solution.RemoveAdditionalDocument(documentId).GetRequiredProject(Id);
Workspace\Workspace.cs (1)
1345return oldSolution.RemoveAdditionalDocument(documentId);
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
VisualStudioMSBuildWorkspaceTests.cs (1)
2216workspace.TryApplyChanges(workspace.CurrentSolution.RemoveAdditionalDocument(xaml.Id));
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
SolutionTests\SolutionTests.cs (2)
137Assert.Throws<ArgumentNullException>(() => solution.RemoveAdditionalDocument(null!)); 138Assert.Throws<InvalidOperationException>(() => solution.RemoveAdditionalDocument(s_unrelatedDocumentId));
Microsoft.VisualStudio.LanguageServices (1)
Preview\TopLevelChange.cs (1)
138solution = solution.RemoveAdditionalDocument(updatedDocumentIdOpt);
Roslyn.VisualStudio.Next.UnitTests (1)
Services\SolutionServiceTests.cs (1)
351return s.RemoveAdditionalDocument(additionalDocumentId);