17 references to IndentSwitchSection
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Formatting\CSharpFormattingOptions.cs (2)
145
/// <inheritdoc cref="CSharpFormattingOptions2.
IndentSwitchSection
"/>
146
public static Option<bool> IndentSwitchSection { get; } = CSharpFormattingOptions2.
IndentSwitchSection
.ToPublicOption();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (1)
110
(options.GetOption(CSharpFormattingOptions2.
IndentSwitchSection
) ? IndentationPlacement.SwitchSection : 0);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (10)
Formatting\FormattingTests.cs (10)
1056
{
IndentSwitchSection
, false },
1093
{
IndentSwitchSection
, false },
1185
{
IndentSwitchSection
, true },
1228
{
IndentSwitchSection
, true },
1271
{
IndentSwitchSection
, true },
1314
{
IndentSwitchSection
, true },
1357
{
IndentSwitchSection
, false },
1400
{
IndentSwitchSection
, false },
1443
{
IndentSwitchSection
, false },
1486
{
IndentSwitchSection
, false },
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\Whitespace\CSharpWhitespaceSettingsProvider.cs (1)
102
yield return Setting.Create(CSharpFormattingOptions2.
IndentSwitchSection
, CSharpVSResources.Indent_case_labels, options, updaterService);
Options\AutomationObject\AutomationObject.Formatting.cs (2)
38
get { return GetBooleanOption(CSharpFormattingOptions2.
IndentSwitchSection
); }
39
set { SetBooleanOption(CSharpFormattingOptions2.
IndentSwitchSection
, value); }
Options\Formatting\IndentationViewModel.cs (1)
90
Items.Add(new CheckBoxOptionViewModel(CSharpFormattingOptions2.
IndentSwitchSection
, CSharpVSResources.Indent_case_labels, SwitchCasePreview, this, optionStore));