8 references to SwitchCaseContents
Microsoft.CodeAnalysis.CSharp.Workspaces (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));
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp.CSharp (1)
Formatting\OmniSharpSyntaxFormattingOptionsFactory.cs (1)
132
(indentSwitchCaseSection ? IndentationPlacement.
SwitchCaseContents
: 0) |
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
RazorCSharpSyntaxFormattingOptions.cs (1)
124
SwitchCaseContents = IndentationPlacement.
SwitchCaseContents
,
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Formatter\FormatterTests.cs (1)
194
Assert.False(formattingOptions.Indentation.HasFlag(IndentationPlacement.
SwitchCaseContents
));