2 references to SyntaxFormatting
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\CodeFixes\UseConditionalExpression\AbstractUseConditionalExpressionCodeFixProvider.cs (2)
50
var formattingOptions = await document.GetSyntaxFormattingOptionsAsync(
SyntaxFormatting
, cancellationToken).ConfigureAwait(false);
72
var formattedRoot =
SyntaxFormatting
.GetFormattingResult(changedRoot, spansToFormat, formattingOptions, rules, cancellationToken).GetFormattedRoot(cancellationToken);