5 references to GetFormattedDocumentAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
ExtractMethod\ExtractMethodBase.cs (1)
160
var (doc, _) = await result.
GetFormattedDocumentAsync
(CodeCleanupOptions.GetDefault(document.Project.Services), CancellationToken.None);
Microsoft.CodeAnalysis.EditorFeatures (1)
ExtractMethod\ExtractMethodCommandHandler.cs (1)
194
var (formattedDocument, methodNameAtInvocation) = await result.
GetFormattedDocumentAsync
(cleanupOptions, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Features (2)
CodeRefactorings\ExtractMethod\AbstractExtractMethodCodeRefactoringProvider.cs (2)
102
var (document, invocationNameToken) = await result.
GetFormattedDocumentAsync
(cleanupOptions, c).ConfigureAwait(false);
131
var (document, invocationNameToken) = await localFunctionResult.
GetFormattedDocumentAsync
(cleanupOptions, c).ConfigureAwait(false);
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
ExtractMethod\ExtractMethodTests.vb (1)
128
Return Await (Await result.
GetFormattedDocumentAsync
(cleanupOptions, CancellationToken.None)).document.GetSyntaxRootAsync()