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

◆ RewriteTypeBinaryExpression()

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

Definition at line 822 of file StackSpiller.cs.

823 {
824 TypeBinaryExpression typeBinaryExpression = (TypeBinaryExpression)expr;
825 Result result = RewriteExpression(typeBinaryExpression.Expression, stack);
826 if (result.Action != 0)
827 {
828 expr = new TypeBinaryExpression(result.Node, typeBinaryExpression.TypeOperand, typeBinaryExpression.NodeType);
829 }
830 return new Result(result.Action, expr);
831 }
Result RewriteExpression(Expression node, Stack stack)

References System.Linq.Expressions.Compiler.StackSpiller.Result.Action, System.Linq.Expressions.Compiler.StackSpiller.Result.Node, and System.Linq.Expressions.Compiler.StackSpiller.RewriteExpression().

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