1 write to Action
System.Linq.Expressions (1)
System\Linq\Expressions\Compiler\StackSpiller.cs (1)
67Action = action;
52 references to Action
System.Linq.Expressions (52)
System\Linq\Expressions\Compiler\StackSpiller.Bindings.cs (1)
223_action = result.Action;
System\Linq\Expressions\Compiler\StackSpiller.ChildRewriter.cs (2)
131_action |= exp.Action; 134if (exp.Action == RewriteAction.SpillStack)
System\Linq\Expressions\Compiler\StackSpiller.cs (47)
107_lambdaRewrite = body.Action; 111if (body.Action != RewriteAction.None) 136Debug.Assert((result.Action == RewriteAction.None) ^ (node != result.Node), "rewrite action does not match node object identity"); 143result.Action != RewriteAction.Copy || node.NodeType == result.Node.NodeType || node.CanReduce, 223RewriteAction action = left.Action | right.Action | conversion.Action; 249return new Result(result.Action | RewriteAction.Copy, result.Node); 285if (right.Action != RewriteAction.None) 290return new Result(right.Action, node); 314return new Result(result.Action | RewriteAction.Copy, result.Node); 342RewriteAction action = test.Action | ifTrue.Action | ifFalse.Action; 389if (expression.Action != RewriteAction.None) 391if (expression.Action == RewriteAction.SpillStack && 401return new Result(expression.Action, expr); 524return new Result(result.Action | spiller._lambdaRewrite, result.Node); 567if (expression.Action != RewriteAction.None) 572return new Result(expression.Action, expr); 586RewriteAction action = value.Action; 611if (expression.Action == RewriteAction.SpillStack) 616if (expression.Action != RewriteAction.None) 621return new Result(expression.Action, expr); 631RewriteAction action = newResult.Action; 709RewriteAction action = result.Action; 789action |= rewritten.Action; 791if (clone == null && rewritten.Action != RewriteAction.None) 816if (expression.Action != RewriteAction.None) 821return new Result(expression.Action, expr); 832RewriteAction action = body.Action; 863RewriteAction action = value.Action; 884RewriteAction action = switchValue.Action; 898action |= test.Action; 900if (cloneTests == null && test.Action != RewriteAction.None) 913action |= body.Action; 915if (body.Action != RewriteAction.None || cloneTests != null) 935action |= defaultBody.Action; 961RewriteAction action = body.Action; 966RewriteAction curAction = body.Action; 975action |= rfault.Action; 976curAction |= rfault.Action; 982action |= rbody.Action; 983curAction |= rbody.Action; 1000action |= fault.Action; 1003action |= @finally.Action; 1029return new Result(result.Action | RewriteAction.Copy, result.Node);
System\Linq\Expressions\Compiler\StackSpiller.Generated.cs (2)
174if (result.Action == RewriteAction.None) 177result = new Result(result.Action | RewriteAction.Copy, result.Node);