[Mono-bugs] [Bug 386322] New: Expression.Lambda() should return Expression<T> instead of LambdaExpression

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri May 2 18:11:24 EDT 2008


           Summary: Expression.Lambda() should return Expression<T> instead
                    of LambdaExpression
           Product: Mono: Class Libraries
           Version: SVN
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Core
        AssignedTo: jbevain at novell.com
        ReportedBy: jan.oravec at 6com.sk
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Hi again!

>From http://msdn.microsoft.com/en-us/library/bb299425.aspx:

The object that is returned from this function is of type Expression<(Of
<(TDelegate>)>). The LambdaExpression type is used to represent the returned
object because the concrete type of the lambda expression is not known at
compile time.

This is fixed in attached patch.

The good news - NHibernate.Linq now works on Mono! Great work!

P.S. (lazy to open new bug) Shouldn't Queryable.OrderBy return
IOrderedQueryable instead of IQueryable?

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list