16 references to IndentSwitchCaseSectionWhenBlock
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Formatting\CSharpFormattingOptions.cs (2)
151
/// <inheritdoc cref="CSharpFormattingOptions2.
IndentSwitchCaseSectionWhenBlock
"/>
152
public 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)
101
yield return Setting.Create(CSharpFormattingOptions2.
IndentSwitchCaseSectionWhenBlock
, CSharpVSResources.Indent_case_contents_when_block, options, updaterService);
Options\AutomationObject\AutomationObject.Formatting.cs (2)
32
get { return GetBooleanOption(CSharpFormattingOptions2.
IndentSwitchCaseSectionWhenBlock
); }
33
set { SetBooleanOption(CSharpFormattingOptions2.
IndentSwitchCaseSectionWhenBlock
, value); }
Options\Formatting\IndentationViewModel.cs (1)
89
Items.Add(new CheckBoxOptionViewModel(CSharpFormattingOptions2.
IndentSwitchCaseSectionWhenBlock
, CSharpVSResources.Indent_case_contents_when_block, SwitchCaseWhenBlockPreview, this, optionStore));