17 references to IndentSwitchSection
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Formatting\CSharpFormattingOptions.cs (2)
145/// <inheritdoc cref="CSharpFormattingOptions2.IndentSwitchSection"/> 146public 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)
1194{ IndentSwitchSection, false }, 1231{ IndentSwitchSection, false }, 1323{ IndentSwitchSection, true }, 1366{ IndentSwitchSection, true }, 1409{ IndentSwitchSection, true }, 1452{ IndentSwitchSection, true }, 1495{ IndentSwitchSection, false }, 1538{ IndentSwitchSection, false }, 1581{ IndentSwitchSection, false }, 1624{ IndentSwitchSection, false },
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\Whitespace\CSharpWhitespaceSettingsProvider.cs (1)
108yield return Setting.Create(CSharpFormattingOptions2.IndentSwitchSection, CSharpVSResources.Indent_case_labels, options, updaterService);
Options\AutomationObject\AutomationObject.Formatting.cs (2)
38get { return GetBooleanOption(CSharpFormattingOptions2.IndentSwitchSection); } 39set { SetBooleanOption(CSharpFormattingOptions2.IndentSwitchSection, value); }
Options\Formatting\IndentationViewModel.cs (1)
90Items.Add(new CheckBoxOptionViewModel(CSharpFormattingOptions2.IndentSwitchSection, CSharpVSResources.Indent_case_labels, SwitchCasePreview, this, optionStore));