17 references to IndentSwitchCaseSection
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Formatting\CSharpFormattingOptions.cs (2)
148/// <inheritdoc cref="CSharpFormattingOptions2.IndentSwitchCaseSection"/> 149public static Option<bool> IndentSwitchCaseSection { get; } = CSharpFormattingOptions2.IndentSwitchCaseSection.ToPublicOption();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (1)
108(options.GetOption(CSharpFormattingOptions2.IndentSwitchCaseSection) ? IndentationPlacement.SwitchCaseContents : 0) |
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (10)
Formatting\FormattingTests.cs (10)
1057{ IndentSwitchCaseSection, false }, 1094{ IndentSwitchCaseSection, false }, 1186{ IndentSwitchCaseSection, true }, 1229{ IndentSwitchCaseSection, true }, 1272{ IndentSwitchCaseSection, false }, 1315{ IndentSwitchCaseSection, false }, 1358{ IndentSwitchCaseSection, true }, 1401{ IndentSwitchCaseSection, true }, 1444{ IndentSwitchCaseSection, false }, 1487{ IndentSwitchCaseSection, false },
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\Whitespace\CSharpWhitespaceSettingsProvider.cs (1)
100yield return Setting.Create(CSharpFormattingOptions2.IndentSwitchCaseSection, CSharpVSResources.Indent_case_contents, options, updaterService);
Options\AutomationObject\AutomationObject.Formatting.cs (2)
26get { return GetBooleanOption(CSharpFormattingOptions2.IndentSwitchCaseSection); } 27set { SetBooleanOption(CSharpFormattingOptions2.IndentSwitchCaseSection, value); }
Options\Formatting\IndentationViewModel.cs (1)
88Items.Add(new CheckBoxOptionViewModel(CSharpFormattingOptions2.IndentSwitchCaseSection, CSharpVSResources.Indent_case_contents, SwitchCasePreview, this, optionStore));