7 references to WithDocumentFolders
Microsoft.CodeAnalysis.Workspaces (2)
Rename\Renamer.RenameDocumentActionSet.cs (1)
97.WithDocumentFolders(documentId, _documentFolders);
Workspace\Solution\Document.cs (1)
410=> this.Project.Solution.WithDocumentFolders(this.Id, folders).GetRequiredDocument(Id);
Microsoft.CodeAnalysis.Workspaces.UnitTests (5)
SolutionTests\SolutionTests.cs (5)
198var newSolution1 = solution.WithDocumentFolders(documentId, folders); 201var newSolution2 = newSolution1.WithDocumentFolders(documentId, folders); 211var newSolution5 = solution.WithDocumentFolders(documentId, null); 216Assert.Throws<ArgumentNullException>(() => solution.WithDocumentFolders(null!, folders)); 217Assert.Throws<InvalidOperationException>(() => solution.WithDocumentFolders(s_unrelatedDocumentId, folders));