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)
1233
{
IndentSwitchCaseSectionWhenBlock
, false },
1325
{
IndentSwitchCaseSectionWhenBlock
, true },
1368
{
IndentSwitchCaseSectionWhenBlock
, false },
1411
{
IndentSwitchCaseSectionWhenBlock
, true },
1454
{
IndentSwitchCaseSectionWhenBlock
, false },
1497
{
IndentSwitchCaseSectionWhenBlock
, true },
1540
{
IndentSwitchCaseSectionWhenBlock
, false },
1583
{
IndentSwitchCaseSectionWhenBlock
, true },
1626
{
IndentSwitchCaseSectionWhenBlock
, false },
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\Whitespace\CSharpWhitespaceSettingsProvider.cs (1)
107
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));