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