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)
178return cr.Finish(cr.Rewrite ? node.Rewrite(cr[0, -1]!) : expr); 196if (cr.Rewrite) 269return cr.Finish(cr.Rewrite ? 369if (cr.Rewrite) 420if (cr.Rewrite) 450if (cr.Rewrite) 487if (cr.Rewrite) 518if (cr.Rewrite || spiller._lambdaRewrite != RewriteAction.None) 540return cr.Finish(cr.Rewrite ? new InvocationExpressionN(cr[0]!, cr[1, -1]!, node.Type) : expr); 557return cr.Finish(cr.Rewrite ? new NewExpression(node.Constructor, cr[0, -1]!, node.Members) : expr);