[Mono-dev] System.Core patch for nested Lambda Expressions

Jb Evain jb at nurv.fr
Wed May 14 08:43:53 EDT 2008


Hey Roei,

On 5/14/08, Roei Erez <roeie at mainsoft.com> wrote:
>  The sample that I have sent as a test case did not include any quote
>  expression neither explicitly nor implicitly by the Expression.Call
>  method.
>  I have checked on MS.NET and this is not the case, too.
>  Can you explain more what you have meant?

My bad, my feeling was that passing a lambda as a Call parameter will
get the lambda quoted, indeed .net does not do that.

>  Just to make sure we both understand the use-case, it is about a method
>  that is expecting for a delegate as an argument, and instead is passed
>  an expression (that should be compiled to a delegate before invocation
>  as far as I understand).

We're good. I'll commit a modified version of your patch as a start,
but I'll investigate more about how does this work wrt to the
ExecutionScope.

Thanks,

-- 
Jb Evain  <jb at nurv.fr>


More information about the Mono-devel-list mailing list