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)
87
if (!
_options
.Indentation.HasFlag(IndentationPlacement.SwitchCaseContents) && !
_options
.Indentation.HasFlag(IndentationPlacement.SwitchCaseContentsWhenBlock))
93
var alwaysIndent =
_options
.Indentation.HasFlag(IndentationPlacement.SwitchCaseContents) &&
_options
.Indentation.HasFlag(IndentationPlacement.SwitchCaseContentsWhenBlock);
97
Debug.Assert(
_options
.Indentation.HasFlag(IndentationPlacement.SwitchCaseContents) !=
_options
.Indentation.HasFlag(IndentationPlacement.SwitchCaseContentsWhenBlock));
100
if (
_options
.Indentation.HasFlag(IndentationPlacement.SwitchCaseContentsWhenBlock) != firstStatementIsBlock)
138
if (
_options
.LabelPositioning == LabelPositionOptionsInternal.OneLess)
142
else if (
_options
.LabelPositioning == LabelPositionOptionsInternal.LeftMost)
237
if (node is BlockSyntax && !
_options
.Indentation.HasFlag(IndentationPlacement.BlockContents))
243
if (node is SwitchStatementSyntax && !
_options
.Indentation.HasFlag(IndentationPlacement.SwitchSection))