11 references to FormatterHelper
Microsoft.CodeAnalysis.CodeStyle (2)
FormattingAnalyzerHelper.cs (2)
11
using Formatter = Microsoft.CodeAnalysis.Formatting.
FormatterHelper
;
25
var formattingChanges =
Formatter
.GetFormattedTextChanges(tree.GetRoot(cancellationToken), formattingProvider, options, cancellationToken);
Microsoft.CodeAnalysis.CodeStyle.Fixes (7)
AbstractRemoveUnusedValuesCodeFixProvider.cs (1)
840
rootWithTrackedNodes =
FormatterHelper
.Format(rootWithTrackedNodes, originalDeclStatementsToMoveOrRemove.Select(s => s.Span), provider, options, rules: null, cancellationToken);
AbstractUseConditionalExpressionCodeFixProvider.cs (2)
20
using Formatter = Microsoft.CodeAnalysis.Formatting.
FormatterHelper
;
84
var formattedRoot =
Formatter
.Format(changedRoot, SpecializedFormattingAnnotation, provider, formattingOptions, rules, cancellationToken);
FormattingCodeFixHelper.cs (2)
10
using Formatter = Microsoft.CodeAnalysis.Formatting.
FormatterHelper
;
28
var formattedRoot =
Formatter
.Format(root, spanToFormat, formattingProvider, options, cancellationToken);
FormattingCodeFixProvider.cs (2)
15
using Formatter = Microsoft.CodeAnalysis.Formatting.
FormatterHelper
;
76
var updatedRoot =
Formatter
.Format(editor.OriginalRoot, SyntaxFormatting, formattingOptions, cancellationToken);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
CSharpRemoveUnnecessaryImportsService.cs (2)
26
using Formatter = Microsoft.CodeAnalysis.Formatting.
FormatterHelper
;
82
var formattedRoot =
Formatter
.Format(newRoot, spans, provider, formattingOptions, rules: null, cancellationToken);