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

◆ EmitBinaryOperator()

void System.Linq.Expressions.Compiler.LambdaCompiler.EmitBinaryOperator ( ExpressionType op,
Type leftType,
Type rightType,
Type resultType,
bool liftedToNull )
inlineprivate

Definition at line 444 of file LambdaCompiler.cs.

445 {
446 if (op == ExpressionType.ArrayIndex)
447 {
449 }
450 else if (leftType.IsNullableType() || rightType.IsNullableType())
451 {
453 }
454 else
455 {
457 }
458 }
void EmitLiftedBinaryOp(ExpressionType op, Type leftType, Type rightType, Type resultType, bool liftedToNull)
void EmitUnliftedBinaryOp(ExpressionType op, Type leftType, Type rightType)

References System.Linq.Expressions.Compiler.LambdaCompiler.EmitGetArrayElement(), System.Linq.Expressions.Compiler.LambdaCompiler.EmitLiftedBinaryOp(), and System.Linq.Expressions.Compiler.LambdaCompiler.EmitUnliftedBinaryOp().

Referenced by System.Linq.Expressions.Compiler.LambdaCompiler.EmitBinaryExpression(), System.Linq.Expressions.Compiler.LambdaCompiler.EmitLiftedBinaryArithmetic(), and System.Linq.Expressions.Compiler.LambdaCompiler.EmitUnary().