Re: [Mono-dev] Problem with Linq in Mono

2010-10-20 Thread Chakotey STME
Thanks for your answer I produced the error. It's no bug! I had no elements in the list or the list wasn't initialized when I make the .Max-Operation. Sorry 2010/10/20 Jb Evain : > Hi, > > On Wed, Oct 20, 2010 at 1:58 PM, Chakotey STME wrote: >> I have a vb.net project (.net 3.5). >> I use thi

Re: [Mono-dev] Problem with Linq in Mono

2010-10-20 Thread Jb Evain
Hi, On Wed, Oct 20, 2010 at 1:58 PM, Chakotey STME wrote: > I have a vb.net project (.net 3.5). > I use this Linq-Statement: > > Dim minPosition = myIndexing.Where(Function(x) x.Key < > beginTime).SelectMany(Function(x) x.Value).ToList > > It works perfect under .net and mono 2.6 > > But I get an

[Mono-dev] Problem with Linq in Mono

2010-10-20 Thread Chakotey STME
Hi Community, I have a vb.net project (.net 3.5). I use this Linq-Statement: Dim minPosition = myIndexing.Where(Function(x) x.Key < beginTime).SelectMany(Function(x) x.Value).ToList It works perfect under .net and mono 2.6 But I get an exception if I use this operation (i get the exception only