5 references to RenameDocumentAsync
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (3)
Rename\RenamerTests.cs (3)
74var documentRenameResult = await Rename.Renamer.RenameDocumentAsync(document, options, endDocument.DocumentName, endDocument.DocumentFolders); 207var documentRenameResult = await Rename.Renamer.RenameDocumentAsync(document, options, endDocument.DocumentName, endDocument.DocumentFolders); 238var documentRenameResult = await Rename.Renamer.RenameDocumentAsync(document, options, newDocumentName, GetDocumentFolders(s_defaultDocumentPath));
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.cs (1)
56var renameActionSet = await Renamer.RenameDocumentAsync(
Microsoft.CodeAnalysis.Workspaces (1)
Rename\Renamer.cs (1)
76=> RenameDocumentAsync(document, GetDocumentRenameOptions(optionSet ?? document.Project.Solution.Options), newDocumentName, newDocumentFolders, cancellationToken);