9 references to SwitchSection
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpFormattingOptions2.cs (2)
201
CSharpSyntaxFormattingOptions.IndentationDefault.HasFlag(IndentationPlacement.
SwitchSection
))
206
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
))
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp.CSharp (1)
Formatting\OmniSharpSyntaxFormattingOptionsFactory.cs (1)
134
(indentSwitchSection ? IndentationPlacement.
SwitchSection
: 0),
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
RazorCSharpSyntaxFormattingOptions.cs (1)
128
SwitchSection = IndentationPlacement.
SwitchSection
,
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
Formatter\FormatterTests.cs (1)
196
Assert.False(formattingOptions.Indentation.HasFlag(IndentationPlacement.
SwitchSection
));
Remote\ServiceDescriptorTests.cs (1)
243
Indentation = IndentationPlacement.
SwitchSection