27 references to AndAlso
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\ConstraintServices.cs (1)
112return Expression.MakeBinary(ExpressionType.AndAlso,
System.Linq.Expressions (26)
System\Linq\Expressions\BinaryExpression.cs (14)
342(kind == ExpressionType.AndAlso || kind == ExpressionType.OrElse) && 399string opName = NodeType == ExpressionType.AndAlso ? "op_False" : "op_True"; 742(binaryType == ExpressionType.AndAlso || binaryType == ExpressionType.OrElse); 913ExpressionType.AndAlso => AndAlso(left, right, method), 1250/// <returns>A <see cref="BinaryExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.AndAlso"/> 1263/// <returns>A <see cref="BinaryExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.AndAlso"/> 1277return new LogicalBinaryExpression(ExpressionType.AndAlso, left, right); 1281return new SimpleBinaryExpression(ExpressionType.AndAlso, left, right, left.Type); 1284method = GetUserDefinedBinaryOperator(ExpressionType.AndAlso, left.Type, right.Type, "op_BitwiseAnd"); 1287ValidateUserDefinedConditionalLogicOperator(ExpressionType.AndAlso, left.Type, right.Type, method); 1289return new MethodBinaryExpression(ExpressionType.AndAlso, left, right, returnType, method); 1291throw Error.BinaryOperatorNotDefined(ExpressionType.AndAlso, left.Type, right.Type); 1293ValidateUserDefinedConditionalLogicOperator(ExpressionType.AndAlso, left.Type, right.Type, method); 1295return new MethodBinaryExpression(ExpressionType.AndAlso, left, right, returnType, method);
System\Linq\Expressions\Compiler\LambdaCompiler.Binary.cs (2)
24Debug.Assert(b.NodeType != ExpressionType.AndAlso && b.NodeType != ExpressionType.OrElse && b.NodeType != ExpressionType.Coalesce); 203case ExpressionType.AndAlso:
System\Linq\Expressions\Compiler\LambdaCompiler.Generated.cs (1)
57case ExpressionType.AndAlso:
System\Linq\Expressions\Compiler\LambdaCompiler.Logical.cs (3)
466case ExpressionType.AndAlso: 583Debug.Assert(node.NodeType == ExpressionType.AndAlso || node.NodeType == ExpressionType.OrElse); 594bool isAnd = node.NodeType == ExpressionType.AndAlso;
System\Linq\Expressions\Compiler\StackSpiller.Generated.cs (1)
57case ExpressionType.AndAlso:
System\Linq\Expressions\DebugViewWriter.cs (3)
313case ExpressionType.AndAlso: op = "&&"; beforeOp = Flow.Break | Flow.Space; break; 591case ExpressionType.AndAlso: 664case ExpressionType.AndAlso:
System\Linq\Expressions\ExpressionStringBuilder.cs (1)
160case ExpressionType.AndAlso:
System\Linq\Expressions\Interpreter\LightCompiler.cs (1)
3051case ExpressionType.AndAlso: CompileAndAlsoBinaryExpression(expr); break;