8 references to IsOn
Microsoft.CodeAnalysis.CodeStyle (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\BottomUpBaseIndentationFinder.cs (3)
158
if (operation.Option.
IsOn
(IndentBlockOption.RelativeToFirstTokenOnBaseTokenLine))
176
if (operation.Option.
IsOn
(IndentBlockOption.AbsolutePosition))
191
if (operation.Option.
IsOn
(IndentBlockOption.AbsolutePosition))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (2)
193
Func<FormattingContext, IndentBlockOperation, SyntaxToken> effectiveBaseTokenGetter = operation.Option.
IsOn
(IndentBlockOption.RelativeToFirstTokenOnBaseTokenLine)
219
if (operation.Option.
IsOn
(IndentBlockOption.AbsolutePosition))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
419
if (operation.Option.
IsOn
(IndentBlockOption.RelativeToFirstTokenOnBaseTokenLine))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\FormattingExtensions.cs (2)
344
if (operation.Option.
IsOn
(IndentBlockOption.AbsolutePosition))
350
if (!operation.Option.
IsOn
(IndentBlockOption.IndentIfConditionOfAnchorToken))