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

◆ RewriteBinaryExpression()

Result System.Linq.Expressions.Compiler.StackSpiller.RewriteBinaryExpression ( Expression expr,
Stack stack )
inlineprivate

Definition at line 629 of file StackSpiller.cs.

630 {
631 BinaryExpression binaryExpression = (BinaryExpression)expr;
632 ChildRewriter childRewriter = new ChildRewriter(this, stack, 3);
636 if (childRewriter.Action == RewriteAction.SpillStack)
637 {
639 }
640 return childRewriter.Finish(childRewriter.Rewrite ? BinaryExpression.Create(binaryExpression.NodeType, childRewriter[0], childRewriter[1], binaryExpression.Type, binaryExpression.Method, (LambdaExpression)childRewriter[2]) : expr);
641 }
void Add(TKey key, TValue value)
static void RequireNoRefArgs(MethodBase method)

References System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Linq.Expressions.BinaryExpression.Create(), and System.Linq.Expressions.Compiler.StackSpiller.RequireNoRefArgs().

Referenced by System.Linq.Expressions.Compiler.StackSpiller.RewriteExpression().