[Mono-bugs] [Bug 668652] Mono fails to compile class using LINQ query pattern

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Feb 3 11:13:56 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=668652

https://bugzilla.novell.com/show_bug.cgi?id=668652#c5


--- Comment #5 from Justin Bailey <justin_bailey at adp.com> 2011-02-03 16:13:56 UTC ---
I believe this bug is due to an ambiguity in the "Query Pattern" described in
the C# spec. They do not specify that the Where method needs a particular
signature beyond Func<U, T>, but the sample they gives implies T should be bool
(i.e., Where<U>(Func<U, bool>). Microsoft's implementation seems more liberal.

Either way, the program still fails to compile using mcs but does compile with
CSC.

-- 
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