5 implementations of FormatNewDocumentAsync
Microsoft.CodeAnalysis.CSharp.Features (4)
Formatting\CSharpAccessibilityModifiersNewDocumentFormattingProvider.cs (1)
30
public async Task<Document>
FormatNewDocumentAsync
(Document document, Document? hintDocument, CodeCleanupOptions options, CancellationToken cancellationToken)
Formatting\CSharpNamespaceDeclarationNewDocumentFormattingProvider.cs (1)
31
public async Task<Document>
FormatNewDocumentAsync
(Document document, Document? hintDocument, CodeCleanupOptions options, CancellationToken cancellationToken)
Formatting\CSharpOrganizeUsingsNewDocumentFormattingProvider.cs (1)
27
public async Task<Document>
FormatNewDocumentAsync
(Document document, Document? hintDocument, CodeCleanupOptions options, CancellationToken cancellationToken)
Formatting\CSharpUseProgramMainNewDocumentFormattingProvider.cs (1)
25
public async Task<Document>
FormatNewDocumentAsync
(Document document, Document? hintDocument, CodeCleanupOptions options, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.Features (1)
AddFileBanner\AbstractAddFileBannerNewDocumentFormattingProvider.cs (1)
22
public async Task<Document>
FormatNewDocumentAsync
(Document document, Document? hintDocument, CodeCleanupOptions options, CancellationToken cancellationToken)
1 reference to FormatNewDocumentAsync
Microsoft.CodeAnalysis.Features (1)
Formatting\AbstractNewDocumentFormattingService.cs (1)
50
document = await provider.
FormatNewDocumentAsync
(document, hintDocument, options, cancellationToken).ConfigureAwait(false);