1 write to _options
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\IndentBlockFormattingRule.cs (1)
30
_options
= options;
13 references to _options
Microsoft.CodeAnalysis.CSharp.Workspaces (13)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\IndentBlockFormattingRule.cs (13)
37
if (
_options
.LabelPositioning == newOptions.LabelPositioning &&
38
_options
.Indentation == newOptions.Indentation)
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));
101
if (
_options
.Indentation.HasFlag(IndentationPlacement.SwitchCaseContentsWhenBlock) != firstStatementIsBlock)
139
if (
_options
.LabelPositioning == LabelPositionOptions.OneLess)
143
else if (
_options
.LabelPositioning == LabelPositionOptions.LeftMost)
238
if (node is BlockSyntax && !
_options
.Indentation.HasFlag(IndentationPlacement.BlockContents))
244
if (node is SwitchStatementSyntax && !
_options
.Indentation.HasFlag(IndentationPlacement.SwitchSection))