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