23 references to IndentStyle
Microsoft.CodeAnalysis.CodeStyle (13)
AbstractIndentation.cs (1)
19protected abstract AbstractFormattingRule GetSpecializedIndentationFormattingRule(FormattingOptions2.IndentStyle indentStyle);
AbstractIndentation.Indenter.cs (4)
70public IndentationResult? GetDesiredIndentation(FormattingOptions2.IndentStyle indentStyle) 73if (indentStyle == FormattingOptions2.IndentStyle.None) 78if (indentStyle == FormattingOptions2.IndentStyle.Block || 84Debug.Assert(indentStyle == FormattingOptions2.IndentStyle.Smart);
FormattingOptions2.cs (5)
13using PublicIndentStyle = Microsoft.CodeAnalysis.Formatting.FormattingOptions2.IndentStyle; 62public static PerLanguageOption2<IndentStyle> SmartIndent = new PerLanguageOption2<IndentStyle>( 66.WithPublicOption(PublicFeatureName, "SmartIndent", static value => (PublicIndentStyle)value, static value => (IndentStyle)value);
IndentationOptions.cs (3)
19[DataMember(Order = 2)] public FormattingOptions2.IndentStyle IndentStyle { get; init; } = DefaultIndentStyle; 21public const FormattingOptions2.IndentStyle DefaultIndentStyle = FormattingOptions2.IndentStyle.Smart;
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
AbstractIndentationService.cs (3)
22var indentStyle = options.IndentStyle; 24if (indentStyle == FormattingOptions2.IndentStyle.None) 32if (indentStyle == FormattingOptions2.IndentStyle.Smart &&
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CSharpSmartTokenFormatter.cs (1)
110_options.IndentStyle != FormattingOptions2.IndentStyle.Smart)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
CSharpIndentationService.cs (2)
44protected override AbstractFormattingRule GetSpecializedIndentationFormattingRule(FormattingOptions2.IndentStyle indentStyle) 63if (options.IndentStyle != FormattingOptions2.IndentStyle.Smart)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (4)
SpecialFormattingOperation.vb (3)
15Private ReadOnly _indentStyle As FormattingOptions2.IndentStyle 17Public Sub New(indentStyle As FormattingOptions2.IndentStyle) 172If _indentStyle <> FormattingOptions2.IndentStyle.Smart Then
VisualBasicIndentationService.vb (1)
35Protected Overrides Function GetSpecializedIndentationFormattingRule(indentStyle As FormattingOptions2.IndentStyle) As AbstractFormattingRule