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