26 references to OrElse
System.ComponentModel.Composition (2)
System\ComponentModel\Composition\ConstraintServices.cs (2)
97return Expression.MakeBinary(ExpressionType.OrElse, 98Expression.MakeBinary(ExpressionType.OrElse,
System.Linq.Expressions (24)
System\Linq\Expressions\BinaryExpression.cs (13)
342(kind == ExpressionType.AndAlso || kind == ExpressionType.OrElse) && 742(binaryType == ExpressionType.AndAlso || binaryType == ExpressionType.OrElse); 915ExpressionType.OrElse => OrElse(left, right, method), 1303/// <returns>A <see cref="BinaryExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.OrElse"/> 1316/// <returns>A <see cref="BinaryExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.OrElse"/> 1330return new LogicalBinaryExpression(ExpressionType.OrElse, left, right); 1334return new SimpleBinaryExpression(ExpressionType.OrElse, left, right, left.Type); 1337method = GetUserDefinedBinaryOperator(ExpressionType.OrElse, left.Type, right.Type, "op_BitwiseOr"); 1340ValidateUserDefinedConditionalLogicOperator(ExpressionType.OrElse, left.Type, right.Type, method); 1342return new MethodBinaryExpression(ExpressionType.OrElse, left, right, returnType, method); 1344throw Error.BinaryOperatorNotDefined(ExpressionType.OrElse, left.Type, right.Type); 1346ValidateUserDefinedConditionalLogicOperator(ExpressionType.OrElse, left.Type, right.Type, method); 1348return new MethodBinaryExpression(ExpressionType.OrElse, 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); 208case ExpressionType.OrElse:
System\Linq\Expressions\Compiler\LambdaCompiler.Generated.cs (1)
60case ExpressionType.OrElse:
System\Linq\Expressions\Compiler\LambdaCompiler.Logical.cs (2)
467case ExpressionType.OrElse: 583Debug.Assert(node.NodeType == ExpressionType.AndAlso || node.NodeType == ExpressionType.OrElse);
System\Linq\Expressions\Compiler\StackSpiller.Generated.cs (1)
59case ExpressionType.OrElse:
System\Linq\Expressions\DebugViewWriter.cs (3)
314case ExpressionType.OrElse: op = "||"; beforeOp = Flow.Break | Flow.Space; break; 592case ExpressionType.OrElse: 660case ExpressionType.OrElse:
System\Linq\Expressions\ExpressionStringBuilder.cs (1)
163case ExpressionType.OrElse:
System\Linq\Expressions\Interpreter\LightCompiler.cs (1)
3052case ExpressionType.OrElse: CompileOrElseBinaryExpression(expr); break;