17 references to IndentSwitchCaseSection
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CSharpSyntaxFormattingOptions.cs (1)
107
(options.GetOption(CSharpFormattingOptions2.
IndentSwitchCaseSection
, fallbackOptions.Indentation.HasFlag(IndentationPlacement.SwitchCaseContents)) ? IndentationPlacement.SwitchCaseContents : 0) |
Formatting\CSharpFormattingOptions.cs (2)
148
/// <inheritdoc cref="CSharpFormattingOptions2.
IndentSwitchCaseSection
"/>
149
public static Option<bool> IndentSwitchCaseSection { get; } = CSharpFormattingOptions2.
IndentSwitchCaseSection
.ToPublicOption();
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (10)
Formatting\FormattingTests.cs (10)
1037
{
IndentSwitchCaseSection
, false },
1070
{
IndentSwitchCaseSection
, false },
1158
{
IndentSwitchCaseSection
, true },
1197
{
IndentSwitchCaseSection
, true },
1236
{
IndentSwitchCaseSection
, false },
1275
{
IndentSwitchCaseSection
, false },
1314
{
IndentSwitchCaseSection
, true },
1353
{
IndentSwitchCaseSection
, true },
1392
{
IndentSwitchCaseSection
, false },
1431
{
IndentSwitchCaseSection
, false },
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\Whitespace\CSharpWhitespaceSettingsProvider.cs (1)
104
yield return Setting.Create(CSharpFormattingOptions2.
IndentSwitchCaseSection
, CSharpVSResources.Indent_case_contents, options, updaterService);
Options\AutomationObject\AutomationObject.Formatting.cs (2)
26
get { return GetBooleanOption(CSharpFormattingOptions2.
IndentSwitchCaseSection
); }
27
set { SetBooleanOption(CSharpFormattingOptions2.
IndentSwitchCaseSection
, value); }
Options\Formatting\IndentationViewModel.cs (1)
84
Items.Add(new CheckBoxOptionViewModel(CSharpFormattingOptions2.
IndentSwitchCaseSection
, CSharpVSResources.Indent_case_contents, SwitchCasePreview, this, optionStore));