Hey Jb,
That is good, just be aware that your feeling was not totally wrong.
The decision of whether to quote the lambda is based on the called
method parameter.
If it is a delegate then it is not quoted, and if it is a lambda it is
quoted.

Regards, 
Roei Erez

-----Original Message-----
From: Jb Evain [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 14, 2008 2:44 PM
To: Roei Erez
Cc: Jb Evain; mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] System.Core patch for nested Lambda Expressions

Hey Roei,

On 5/14/08, Roei Erez <[EMAIL PROTECTED]> 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  <[EMAIL PROTECTED]>
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to