1 implementation of ISyntaxFormatting
Microsoft.CodeAnalysis.CodeStyle (1)
AbstractSyntaxFormatting.cs (1)
21internal abstract class AbstractSyntaxFormatting : ISyntaxFormatting
39 references to ISyntaxFormatting
Microsoft.CodeAnalysis.CodeStyle (13)
AbstractFormattingAnalyzer.cs (1)
28protected abstract ISyntaxFormatting SyntaxFormatting { get; }
AbstractIndentation.cs (1)
17protected abstract ISyntaxFormatting SyntaxFormatting { get; }
AnalyzerOptionsProvider.cs (1)
62public SyntaxFormattingOptions GetSyntaxFormattingOptions(ISyntaxFormatting formatting)
FormatterHelper.cs (8)
22internal static IEnumerable<AbstractFormattingRule> GetDefaultFormattingRules(ISyntaxFormatting syntaxFormattingService) 32public static SyntaxNode Format(SyntaxNode node, ISyntaxFormatting syntaxFormattingService, SyntaxFormattingOptions options, CancellationToken cancellationToken) 35public static SyntaxNode Format(SyntaxNode node, TextSpan spanToFormat, ISyntaxFormatting syntaxFormattingService, SyntaxFormattingOptions options, CancellationToken cancellationToken) 46public static SyntaxNode Format(SyntaxNode node, SyntaxAnnotation annotation, ISyntaxFormatting syntaxFormattingService, SyntaxFormattingOptions options, IEnumerable<AbstractFormattingRule>? rules, CancellationToken cancellationToken) 49internal static SyntaxNode Format(SyntaxNode node, IEnumerable<TextSpan> spans, ISyntaxFormatting syntaxFormattingService, SyntaxFormattingOptions options, IEnumerable<AbstractFormattingRule>? rules, CancellationToken cancellationToken) 52internal static IList<TextChange> GetFormattedTextChanges(SyntaxNode node, IEnumerable<TextSpan> spans, ISyntaxFormatting syntaxFormattingService, SyntaxFormattingOptions options, IEnumerable<AbstractFormattingRule>? rules, CancellationToken cancellationToken) 55internal static IFormattingResult GetFormattingResult(SyntaxNode node, IEnumerable<TextSpan> spans, ISyntaxFormatting syntaxFormattingService, SyntaxFormattingOptions options, IEnumerable<AbstractFormattingRule>? rules, CancellationToken cancellationToken) 65public static IList<TextChange> GetFormattedTextChanges(SyntaxNode node, ISyntaxFormatting syntaxFormattingService, SyntaxFormattingOptions options, CancellationToken cancellationToken)
FormattingAnalyzerHelper.cs (2)
12using FormattingProvider = Microsoft.CodeAnalysis.Formatting.ISyntaxFormatting; 18internal static void AnalyzeSyntaxTree(SyntaxTreeAnalysisContext context, FormattingProvider formattingProvider, DiagnosticDescriptor descriptor, SyntaxFormattingOptions options)
Microsoft.CodeAnalysis.CodeStyle.Fixes (10)
AbstractIndentationService.cs (1)
44var syntaxFormatting = this.SyntaxFormatting;
AbstractRemoveUnnecessaryImportsCodeFixProvider.cs (1)
19protected abstract ISyntaxFormatting GetSyntaxFormatting();
AbstractRemoveUnusedValuesCodeFixProvider.cs (2)
67protected abstract ISyntaxFormatting GetSyntaxFormatting(); 839var provider = GetSyntaxFormatting();
AbstractUseConditionalExpressionCodeFixProvider.cs (2)
43protected abstract ISyntaxFormatting GetSyntaxFormatting(); 78var provider = GetSyntaxFormatting();
CodeFixOptionsProvider.cs (1)
56public SyntaxFormattingOptions GetFormattingOptions(ISyntaxFormatting formatting)
FormattingCodeFixHelper.cs (2)
11using FormattingProvider = Microsoft.CodeAnalysis.Formatting.ISyntaxFormatting; 17internal static async Task<SyntaxTree> FixOneAsync(SyntaxTree syntaxTree, FormattingProvider formattingProvider, SyntaxFormattingOptions options, Diagnostic diagnostic, CancellationToken cancellationToken)
FormattingCodeFixProvider.cs (1)
24protected abstract ISyntaxFormatting SyntaxFormatting { get; }
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CSharpFormattingAnalyzer.cs (1)
14protected override ISyntaxFormatting SyntaxFormatting
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (8)
CSharpFormattingCodeFixProvider.cs (1)
23protected override ISyntaxFormatting SyntaxFormatting => CSharpSyntaxFormatting.Instance;
CSharpIndentationService.cs (1)
41protected override ISyntaxFormatting SyntaxFormatting
CSharpRemoveUnnecessaryImportsCodeFixProvider.cs (1)
29protected override ISyntaxFormatting GetSyntaxFormatting()
CSharpRemoveUnnecessaryImportsService.cs (2)
44private static ISyntaxFormatting GetSyntaxFormatting() 76var provider = GetSyntaxFormatting();
CSharpRemoveUnusedValuesCodeFixProvider.cs (1)
36protected override ISyntaxFormatting GetSyntaxFormatting()
CSharpUseConditionalExpressionForAssignmentCodeFixProvider.cs (1)
65protected override ISyntaxFormatting GetSyntaxFormatting()
CSharpUseConditionalExpressionForReturnCodeFixProvider.cs (1)
51protected override ISyntaxFormatting GetSyntaxFormatting()
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
VisualBasicFormattingAnalyzer.vb (1)
14Protected Overrides ReadOnly Property SyntaxFormatting As ISyntaxFormatting
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (6)
VisualBasicFormattingCodeFixProvider.vb (1)
22Protected Overrides ReadOnly Property SyntaxFormatting As ISyntaxFormatting
VisualBasicIndentationService.Indenter.vb (1)
29Protected Overrides ReadOnly Property SyntaxFormatting As ISyntaxFormatting
VisualBasicRemoveUnnecessaryImportsCodeFixProvider.vb (1)
28Protected Overrides Function GetSyntaxFormatting() As ISyntaxFormatting
VisualBasicRemoveUnusedValuesCodeFixProvider.vb (1)
28Protected Overrides Function GetSyntaxFormatting() As ISyntaxFormatting
VisualBasicUseConditionalExpressionForAssignmentCodeFixProvider.vb (1)
59Protected Overrides Function GetSyntaxFormatting() As ISyntaxFormatting
VisualBasicUseConditionalExpressionForReturnCodeFixProvider.vb (1)
43Protected Overrides Function GetSyntaxFormatting() As ISyntaxFormatting