17 references to LogicalAnd
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Operators.cs (5)
395
if (!IsValidDynamicCondition(left, isNegative: kind == BinaryOperatorKind.
LogicalAnd
, diagnostics, userDefinedOperator: out userDefinedOperator))
399
Error(diagnostics, ErrorCode.ERR_InvalidDynamicCondition, node.Left, left.Type, kind == BinaryOperatorKind.
LogicalAnd
? "false" : "true");
930
Debug.Assert(kind == BinaryOperatorKind.
LogicalAnd
|| kind == BinaryOperatorKind.LogicalOr);
1011
CheckConstraintLanguageVersionAndRuntimeSupportForOperator(node, kind == BinaryOperatorKind.
LogicalAnd
? falseOperator : trueOperator,
2254
case SyntaxKind.LogicalAndExpression: return BinaryOperatorKind.
LogicalAnd
;
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (2)
345
case BinaryOperatorKind.
LogicalAnd
:
603
case BinaryOperatorKind.
LogicalAnd
:
Binder\Semantics\Operators\OperatorKind.cs (3)
724
LogicalBoolAnd = Bool |
LogicalAnd
,
725
LogicalUserDefinedAnd = UserDefined |
LogicalAnd
,
726
DynamicLogicalAnd = Dynamic |
LogicalAnd
,
CodeGen\EmitOperators.cs (3)
311
goto case BinaryOperatorKind.
LogicalAnd
;
313
case BinaryOperatorKind.
LogicalAnd
:
816
case BinaryOperatorKind.
LogicalAnd
:
CodeGen\EmitStatement.cs (3)
424
if (binOp.OperatorKind.OperatorWithLogical() is BinaryOperatorKind.LogicalOr or BinaryOperatorKind.
LogicalAnd
)
445
binary.OperatorKind.OperatorWithLogical() is BinaryOperatorKind.LogicalOr or BinaryOperatorKind.
LogicalAnd
)
495
case BinaryOperatorKind.
LogicalAnd
:
Operations\CSharpOperationFactory_Methods.cs (1)
602
case CSharp.BinaryOperatorKind.
LogicalAnd
: