intellisense issue

the toArray and toList methods on sequences does not show up with intellisense

var foo = new int [] {1, 2, 3, 4, 5};

foo.Where(x => x % 2 == 0).ToArray();

foo.ToList();

 

 

 

 




Answer this question

intellisense issue

  • B o g d a n

    I have noticed that IntelliSense is kinda broken in a few ways with the current LINQ preview...

    The one I hate the most, when typing:

    class MyClass : MyRoot

     

    IntelliSense used to prompt when you entered the M in MyRoot, but does not do so with LINQ in the IDE


  • Jeries Shahin

    We disabled that feature for the LINQ preview because it would tend to interfere too much with what you were typing (since we really don't have a good understanding of LINQ code). You can re-enable it by going to: Tools | Options | Text Editor | C# | IntelliSense | Show completion list after a character is typed.

    -- Cyrus (http://blogs.msdn.com/cyrusn)

  • Bill S

    IntelliSense support for LINQ isn't even at the pre-alpha stage now. It was just an early experiment with what we could do with our 2.0 implementation to make the experience *tolerable* (and nothing more).

    -- Cyrus (http://blogs.msdn.com/cyrusn)

  • intellisense issue