5 references to Format
Microsoft.CodeAnalysis.CodeStyle (3)
FormatterHelper.cs (3)
33=> Format(node, SpecializedCollections.SingletonEnumerable(node.FullSpan), syntaxFormattingService, options, rules: null, cancellationToken: cancellationToken); 36=> Format(node, SpecializedCollections.SingletonEnumerable(spanToFormat), syntaxFormattingService, options, rules: null, cancellationToken: cancellationToken); 47=> Format(node, GetAnnotatedSpans(node, annotation), syntaxFormattingService, options, rules, cancellationToken: cancellationToken);
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
AbstractRemoveUnusedValuesCodeFixProvider.cs (1)
840rootWithTrackedNodes = FormatterHelper.Format(rootWithTrackedNodes, originalDeclStatementsToMoveOrRemove.Select(s => s.Span), provider, options, rules: null, cancellationToken);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
CSharpRemoveUnnecessaryImportsService.cs (1)
82var formattedRoot = Formatter.Format(newRoot, spans, provider, formattingOptions, rules: null, cancellationToken);