8 references to SwitchCaseContents
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (2)
49IndentationPlacement.SwitchCaseContents | 108(options.GetOption(CSharpFormattingOptions2.IndentSwitchCaseSection) ? IndentationPlacement.SwitchCaseContents : 0) |
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\IndentBlockFormattingRule.cs (3)
88if (!_options.Indentation.HasFlag(IndentationPlacement.SwitchCaseContents) && !_options.Indentation.HasFlag(IndentationPlacement.SwitchCaseContentsWhenBlock)) 94var alwaysIndent = _options.Indentation.HasFlag(IndentationPlacement.SwitchCaseContents) && _options.Indentation.HasFlag(IndentationPlacement.SwitchCaseContentsWhenBlock); 98Debug.Assert(_options.Indentation.HasFlag(IndentationPlacement.SwitchCaseContents) != _options.Indentation.HasFlag(IndentationPlacement.SwitchCaseContentsWhenBlock));
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp.CSharp (1)
Formatting\OmniSharpSyntaxFormattingOptionsFactory.cs (1)
132(indentSwitchCaseSection ? IndentationPlacement.SwitchCaseContents : 0) |
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
RazorCSharpSyntaxFormattingOptions.cs (1)
124SwitchCaseContents = IndentationPlacement.SwitchCaseContents,
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Formatter\FormatterTests.cs (1)
194Assert.False(formattingOptions.Indentation.HasFlag(IndentationPlacement.SwitchCaseContents));