2 implementations of GetFormattedRoot
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractAggregatedFormattingResult.cs (1)
64
public SyntaxNode
GetFormattedRoot
(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (1)
51
public SyntaxNode
GetFormattedRoot
(CancellationToken cancellationToken)
4 references to GetFormattedRoot
Microsoft.CodeAnalysis.Workspaces (4)
CodeCleanup\Providers\FormatCodeCleanupProvider.cs (2)
29
: document.WithSyntaxRoot(result.
GetFormattedRoot
(cancellationToken));
40
: Task.FromResult(result.
GetFormattedRoot
(cancellationToken));
Formatting\Formatter.cs (2)
224
return formattingResult == null ? node : formattingResult.
GetFormattedRoot
(cancellationToken);
228
=> GetFormattingResult(node, spans, services, options, rules, cancellationToken).
GetFormattedRoot
(cancellationToken);