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