1 write to Indentation
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (1)
105
Indentation
=
12 references to Indentation
Microsoft.CodeAnalysis.CSharp.CodeStyle (12)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\IndentBlockFormattingRule.cs (10)
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)
238
if (node is BlockSyntax && !_options.
Indentation
.HasFlag(IndentationPlacement.BlockContents))
244
if (node is SwitchStatementSyntax && !_options.
Indentation
.HasFlag(IndentationPlacement.SwitchSection))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\IndentUserSettingsFormattingRule.cs (2)
32
if (_options.
Indentation
.HasFlag(IndentationPlacement.Braces) == newOptions.Indentation.HasFlag(IndentationPlacement.Braces))
52
if (_options.
Indentation
.HasFlag(IndentationPlacement.Braces))