Hi guys,
Just used a simple LINQ query to sort a list in MonoTouch, made me smile it
was so simple!
However Im getting an error if I use a thenby, e.g:

    var sortedDigits = 
        from d in digits 
        orderby d.Length, DoSomething(d) 
        select d;

I get a JIT compiler error, cannot be used with --aot parameters. Sorry Im
not at my mac right now so can't be more specific on the error. I'll try and
post it when I get home tonight.

orderby DoSomething(d) on its own works fine, it appears to happen on any
thenby ',' parameter.

I can work around it by splitting it into 2 seperate LINQ queries, but for
simplicity would prefer just one.

Cheers
Hairy

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Simple-linq-select-with-orderby-and-thenby-tp4656026.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to