Intellisense in Visual Studio 2010

Posted by Erik on Stack Overflow See other posts from Stack Overflow or by Erik
Published on 2012-06-27T10:10:39Z Indexed on 2012/06/27 15:16 UTC
Read the original article Hit count: 232

Filed under:

For some reason the Intellisense in vb.net stopped working when I use an Aggregate Lambda expression inside a With statement.

With Me.SalesPackage
    .WebLinks = Sales.Where(Function(f) f.Current.BookerWeb > 0).Count
    .WebAmount = Aggregate o In Sales.Where(Function(f) f.Current.WebBooker > 0) Into 
    Sum(o.Current.WebPrice)
End With

If I insert a new line between .WebLinks and .WebAmount and start typing, it works. But it won't work if I do it after the Aggregate statement...

Any ideas?

© Stack Overflow or respective owner

Related posts about vb.net