8 references to SwitchCaseContents
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
CSharpSyntaxFormattingOptions.cs (3)
49
IndentationPlacement.
SwitchCaseContents
|
107
(options.GetOption(CSharpFormattingOptions2.IndentSwitchCaseSection, fallbackOptions.Indentation.HasFlag(IndentationPlacement.
SwitchCaseContents
)) ? IndentationPlacement.
SwitchCaseContents
: 0) |
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)
137
(indentSwitchCaseSection ? IndentationPlacement.
SwitchCaseContents
: 0) |
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Formatter\FormatterTests.cs (1)
195
Assert.False(formattingOptions.Indentation.HasFlag(IndentationPlacement.
SwitchCaseContents
));