9 references to SwitchSection
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
CSharpFormattingOptions2.cs (2)
208
CSharpSyntaxFormattingOptions.IndentationDefault.HasFlag(IndentationPlacement.
SwitchSection
))
213
CSharpSyntaxFormattingOptions.IndentationDefault.HasFlag(IndentationPlacement.
SwitchSection
))
CSharpSyntaxFormattingOptions.cs (3)
51
IndentationPlacement.
SwitchSection
;
109
(options.GetOption(CSharpFormattingOptions2.IndentSwitchSection, fallbackOptions.Indentation.HasFlag(IndentationPlacement.
SwitchSection
)) ? IndentationPlacement.
SwitchSection
: 0);
IndentBlockFormattingRule.cs (1)
238
if (node is SwitchStatementSyntax && !_options.Indentation.HasFlag(IndentationPlacement.
SwitchSection
))
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp.CSharp (1)
Formatting\OmniSharpSyntaxFormattingOptionsFactory.cs (1)
139
(indentSwitchSection ? IndentationPlacement.
SwitchSection
: 0),
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
Formatter\FormatterTests.cs (1)
197
Assert.False(formattingOptions.Indentation.HasFlag(IndentationPlacement.
SwitchSection
));
Remote\ServiceDescriptorTests.cs (1)
252
Indentation = IndentationPlacement.
SwitchSection