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)
198
var newSolution1 = solution.
WithDocumentFolders
(documentId, folders);
201
var newSolution2 = newSolution1.
WithDocumentFolders
(documentId, folders);
211
var newSolution5 = solution.
WithDocumentFolders
(documentId, null);
216
Assert.Throws<ArgumentNullException>(() => solution.
WithDocumentFolders
(null!, folders));
217
Assert.Throws<InvalidOperationException>(() => solution.
WithDocumentFolders
(s_unrelatedDocumentId, folders));