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