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