[Mono-dev] System.Core patch for nested Lambda Expressions
Roei Erez
roeie at mainsoft.com
Wed May 14 04:22:45 EDT 2008
According to MS.NET behavior, when a Lambda Expression is encountered
inside an Expression of another Lambda Expression, it is compiled into a
delegate and loaded as constant on the stack.
These enables creating a MethodCallExpression of a method that has a
parameter of type delegate, and pass it a Lambda Expression instead.
Attached is a suggested patch with a test case for your review.
Regards,
Roei Erez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080514/88631021/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NestedLambda.patch
Type: application/octet-stream
Size: 4198 bytes
Desc: NestedLambda.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080514/88631021/attachment.obj
More information about the Mono-devel-list
mailing list