16 references to IndentSwitchCaseSectionWhenBlock
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Formatting\CSharpFormattingOptions.cs (2)
151/// <inheritdoc cref="CSharpFormattingOptions2.IndentSwitchCaseSectionWhenBlock"/> 152public static Option<bool> IndentSwitchCaseSectionWhenBlock { get; } = CSharpFormattingOptions2.IndentSwitchCaseSectionWhenBlock.ToPublicOption();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (1)
109(options.GetOption(CSharpFormattingOptions2.IndentSwitchCaseSectionWhenBlock) ? IndentationPlacement.SwitchCaseContentsWhenBlock : 0) |
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (9)
Formatting\FormattingTests.cs (9)
1095{ IndentSwitchCaseSectionWhenBlock, false }, 1187{ IndentSwitchCaseSectionWhenBlock, true }, 1230{ IndentSwitchCaseSectionWhenBlock, false }, 1273{ IndentSwitchCaseSectionWhenBlock, true }, 1316{ IndentSwitchCaseSectionWhenBlock, false }, 1359{ IndentSwitchCaseSectionWhenBlock, true }, 1402{ IndentSwitchCaseSectionWhenBlock, false }, 1445{ IndentSwitchCaseSectionWhenBlock, true }, 1488{ IndentSwitchCaseSectionWhenBlock, false },
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\Whitespace\CSharpWhitespaceSettingsProvider.cs (1)
101yield return Setting.Create(CSharpFormattingOptions2.IndentSwitchCaseSectionWhenBlock, CSharpVSResources.Indent_case_contents_when_block, options, updaterService);
Options\AutomationObject\AutomationObject.Formatting.cs (2)
32get { return GetBooleanOption(CSharpFormattingOptions2.IndentSwitchCaseSectionWhenBlock); } 33set { SetBooleanOption(CSharpFormattingOptions2.IndentSwitchCaseSectionWhenBlock, value); }
Options\Formatting\IndentationViewModel.cs (1)
89Items.Add(new CheckBoxOptionViewModel(CSharpFormattingOptions2.IndentSwitchCaseSectionWhenBlock, CSharpVSResources.Indent_case_contents_when_block, SwitchCaseWhenBlockPreview, this, optionStore));