10 references to IsChecked
Microsoft.CodeAnalysis.CSharp (10)
CodeGen\EmitOperators.cs (1)
21
if (operatorKind.
IsChecked
())
CodeGen\Optimizer.cs (1)
1655
if (node.OperatorKind.
IsChecked
() && node.OperatorKind.Operator() == UnaryOperatorKind.UnaryMinus)
Compilation\CSharpSemanticModel.cs (2)
3810
OperatorFacts.UnaryOperatorNameFromOperatorKind(op, isChecked: unaryOperator.OperatorKind.
IsChecked
()),
3834
OperatorFacts.UnaryOperatorNameFromOperatorKind(op, isChecked: increment.OperatorKind.
IsChecked
()),
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (3)
429
bool isChecked = node.OperatorKind.
IsChecked
();
636
bool @checked = node.OperatorKind.
IsChecked
();
762
bool @checked = node.OperatorKind.
IsChecked
();
Lowering\LocalRewriter\LoweredDynamicOperationFactory.cs (1)
124
if (operatorKind.
IsChecked
())
Operations\CSharpOperationFactory.cs (2)
1390
bool isChecked = boundIncrementOperator.OperatorKind.
IsChecked
() || (boundIncrementOperator.MethodOpt is not null && SyntaxFacts.IsCheckedOperator(boundIncrementOperator.MethodOpt.Name));
1440
bool isChecked = boundUnaryOperator.OperatorKind.
IsChecked
() || (boundUnaryOperator.MethodOpt is not null && SyntaxFacts.IsCheckedOperator(boundUnaryOperator.MethodOpt.Name));