5 references to WithName
Microsoft.CodeAnalysis.Workspaces (2)
Rename\Renamer.RenameSymbolDocumentAction.cs (2)
47
document.
WithName
(_analysis.OriginalDocumentName),
92
var documentWithNewName = document.
WithName
(newDocumentName);
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
WorkspaceTests\AdhocWorkspaceTests.cs (2)
443
var changedDoc = originalDoc.
WithName
(newName);
576
var changedDoc = originalDoc.
WithName
(newName).WithFolders(new[] { "A", "B" }).WithFilePath(newPath);
WorkspaceTests\WorkspaceTests.cs (1)
45
var changedDoc = originalDoc.
WithName
(newName);