Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ EmitOrElseBinaryExpression()

void System.Linq.Expressions.Compiler.LambdaCompiler.EmitOrElseBinaryExpression ( Expression expr,
CompilationFlags flags )
inlineprivate

Definition at line 2698 of file LambdaCompiler.cs.

2699 {
2700 BinaryExpression binaryExpression = (BinaryExpression)expr;
2701 if (binaryExpression.Method != null)
2702 {
2703 if (binaryExpression.IsLiftedLogical)
2704 {
2705 EmitExpression(binaryExpression.ReduceUserdefinedLifted());
2706 }
2707 else
2708 {
2710 }
2711 }
2712 else if (binaryExpression.Left.Type == typeof(bool?))
2713 {
2715 }
2716 else
2717 {
2719 }
2720 }
void EmitMethodOrElse(BinaryExpression b, CompilationFlags flags)

References System.Linq.Expressions.Compiler.LambdaCompiler.EmitExpression(), System.Linq.Expressions.Compiler.LambdaCompiler.EmitLiftedOrElse(), System.Linq.Expressions.Compiler.LambdaCompiler.EmitMethodOrElse(), and System.Linq.Expressions.Compiler.LambdaCompiler.EmitUnliftedOrElse().

Referenced by System.Linq.Expressions.Compiler.LambdaCompiler.EmitExpression().