17 references to IndentSwitchSection
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CSharpSyntaxFormattingOptions.cs (1)
109
(options.GetOption(CSharpFormattingOptions2.
IndentSwitchSection
, fallbackOptions.Indentation.HasFlag(IndentationPlacement.SwitchSection)) ? IndentationPlacement.SwitchSection : 0);
Formatting\CSharpFormattingOptions.cs (2)
145
/// <inheritdoc cref="CSharpFormattingOptions2.
IndentSwitchSection
"/>
146
public static Option<bool> IndentSwitchSection { get; } = CSharpFormattingOptions2.
IndentSwitchSection
.ToPublicOption();
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (10)
Formatting\FormattingTests.cs (10)
1036
{
IndentSwitchSection
, false },
1069
{
IndentSwitchSection
, false },
1157
{
IndentSwitchSection
, true },
1196
{
IndentSwitchSection
, true },
1235
{
IndentSwitchSection
, true },
1274
{
IndentSwitchSection
, true },
1313
{
IndentSwitchSection
, false },
1352
{
IndentSwitchSection
, false },
1391
{
IndentSwitchSection
, false },
1430
{
IndentSwitchSection
, false },
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\Whitespace\CSharpWhitespaceSettingsProvider.cs (1)
106
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)
86
Items.Add(new CheckBoxOptionViewModel(CSharpFormattingOptions2.
IndentSwitchSection
, CSharpVSResources.Indent_case_labels, SwitchCasePreview, this, optionStore));