5 references to SwitchCaseContents
Microsoft.CodeAnalysis.CSharp.CodeStyle (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (2)
49
IndentationPlacement.
SwitchCaseContents
|
108
(options.GetOption(CSharpFormattingOptions2.IndentSwitchCaseSection) ? IndentationPlacement.
SwitchCaseContents
: 0) |
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\IndentBlockFormattingRule.cs (3)
88
if (!_options.Indentation.HasFlag(IndentationPlacement.
SwitchCaseContents
) && !_options.Indentation.HasFlag(IndentationPlacement.SwitchCaseContentsWhenBlock))
94
var alwaysIndent = _options.Indentation.HasFlag(IndentationPlacement.
SwitchCaseContents
) && _options.Indentation.HasFlag(IndentationPlacement.SwitchCaseContentsWhenBlock);
98
Debug.Assert(_options.Indentation.HasFlag(IndentationPlacement.
SwitchCaseContents
) != _options.Indentation.HasFlag(IndentationPlacement.SwitchCaseContentsWhenBlock));