16 references to IndentSwitchCaseSectionWhenBlock
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CSharpSyntaxFormattingOptions.cs (1)
108(options.GetOption(CSharpFormattingOptions2.IndentSwitchCaseSectionWhenBlock, fallbackOptions.Indentation.HasFlag(IndentationPlacement.SwitchCaseContentsWhenBlock)) ? IndentationPlacement.SwitchCaseContentsWhenBlock : 0) |
Formatting\CSharpFormattingOptions.cs (2)
151/// <inheritdoc cref="CSharpFormattingOptions2.IndentSwitchCaseSectionWhenBlock"/> 152public static Option<bool> IndentSwitchCaseSectionWhenBlock { get; } = CSharpFormattingOptions2.IndentSwitchCaseSectionWhenBlock.ToPublicOption();
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (9)
Formatting\FormattingTests.cs (9)
1071{ IndentSwitchCaseSectionWhenBlock, false }, 1159{ IndentSwitchCaseSectionWhenBlock, true }, 1198{ IndentSwitchCaseSectionWhenBlock, false }, 1237{ IndentSwitchCaseSectionWhenBlock, true }, 1276{ IndentSwitchCaseSectionWhenBlock, false }, 1315{ IndentSwitchCaseSectionWhenBlock, true }, 1354{ IndentSwitchCaseSectionWhenBlock, false }, 1393{ IndentSwitchCaseSectionWhenBlock, true }, 1432{ IndentSwitchCaseSectionWhenBlock, false },
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\Whitespace\CSharpWhitespaceSettingsProvider.cs (1)
105yield 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)
85Items.Add(new CheckBoxOptionViewModel(CSharpFormattingOptions2.IndentSwitchCaseSectionWhenBlock, CSharpVSResources.Indent_case_contents_when_block, SwitchCaseWhenBlockPreview, this, optionStore));