5 references to SwitchSection
Microsoft.CodeAnalysis.CSharp.CodeStyle (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpFormattingOptions2.cs (2)
204
CSharpSyntaxFormattingOptions.IndentationDefault.HasFlag(IndentationPlacement.
SwitchSection
))
209
CSharpSyntaxFormattingOptions.IndentationDefault.HasFlag(IndentationPlacement.
SwitchSection
))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (2)
51
IndentationPlacement.
SwitchSection
;
110
(options.GetOption(CSharpFormattingOptions2.IndentSwitchSection) ? IndentationPlacement.
SwitchSection
: 0);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\IndentBlockFormattingRule.cs (1)
244
if (node is SwitchStatementSyntax && !_options.Indentation.HasFlag(IndentationPlacement.
SwitchSection
))