6 implementations of FormatNewDocumentAsync
Microsoft.CodeAnalysis.CSharp.Features (4)
Formatting\CSharpAccessibilityModifiersNewDocumentFormattingProvider.cs (1)
30public async Task<Document> FormatNewDocumentAsync(Document document, Document? hintDocument, CodeCleanupOptions options, CancellationToken cancellationToken)
Formatting\CSharpNamespaceDeclarationNewDocumentFormattingProvider.cs (1)
33public async Task<Document> FormatNewDocumentAsync(Document document, Document? hintDocument, CodeCleanupOptions options, CancellationToken cancellationToken)
Formatting\CSharpOrganizeUsingsNewDocumentFormattingProvider.cs (1)
29public async Task<Document> FormatNewDocumentAsync(Document document, Document? hintDocument, CodeCleanupOptions options, CancellationToken cancellationToken)
Formatting\CSharpUseProgramMainNewDocumentFormattingProvider.cs (1)
27public async Task<Document> FormatNewDocumentAsync(Document document, Document? hintDocument, CodeCleanupOptions options, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.Features (1)
AddFileBanner\AbstractAddFileBannerNewDocumentFormattingProvider.cs (1)
23public async Task<Document> FormatNewDocumentAsync(Document document, Document? hintDocument, CodeCleanupOptions options, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Formatting\VisualBasicOrganizeUsingsNewDocumentFormattingProvider.vb (1)
22Public Async Function FormatNewDocumentAsync(document As Document, hintDocument As Document, options As CodeCleanupOptions, cancellationToken As CancellationToken) As Task(Of Document) Implements INewDocumentFormattingProvider.FormatNewDocumentAsync
2 references to FormatNewDocumentAsync
Microsoft.CodeAnalysis.Features (1)
Formatting\AbstractNewDocumentFormattingService.cs (1)
50document = await provider.FormatNewDocumentAsync(document, hintDocument, options, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Formatting\VisualBasicOrganizeUsingsNewDocumentFormattingProvider.vb (1)
22Public Async Function FormatNewDocumentAsync(document As Document, hintDocument As Document, options As CodeCleanupOptions, cancellationToken As CancellationToken) As Task(Of Document) Implements INewDocumentFormattingProvider.FormatNewDocumentAsync