12 references to Rewrite
System.Linq.Expressions (12)
System\Linq\Expressions\Compiler\StackSpiller.ChildRewriter.cs (2)
51
/// the first access to an indexer or the <see cref="
Rewrite
"/> method
66
/// These get wrapped in a Block in the <see cref="
Rewrite
"/> method.
System\Linq\Expressions\Compiler\StackSpiller.cs (10)
178
return cr.Finish(cr.
Rewrite
? node.Rewrite(cr[0, -1]!) : expr);
196
if (cr.
Rewrite
)
269
return cr.Finish(cr.
Rewrite
?
369
if (cr.
Rewrite
)
420
if (cr.
Rewrite
)
450
if (cr.
Rewrite
)
487
if (cr.
Rewrite
)
518
if (cr.
Rewrite
|| spiller._lambdaRewrite != RewriteAction.None)
540
return cr.Finish(cr.
Rewrite
? new InvocationExpressionN(cr[0]!, cr[1, -1]!, node.Type) : expr);
557
return cr.Finish(cr.
Rewrite
? new NewExpression(node.Constructor, cr[0, -1]!, node.Members) : expr);