
In the WPF Studio 2011.2 build that was just released, we added resolver and IntelliPrompt support for anonymous types. Now the add-on supports those features for extension methods, lambdas, and anonymous types. All of those things are the building blocks for future LINQ IntelliPrompt!
Anonymous Type IntelliPrompt Examples
Let's see some examples of automated IntelliPrompt for anonymous types.

In this screenshot, we have implicitly declared a variable anon as an anonymous type. The anonymous type's properties are initialized using a variable, and a couple assignment. Hovering over anon to display quick info reveals anon as an anonymous type.

Now we show a completion list containing the members of the variable anon. The three properties declared in the anonymous type's creation expression appear in the list. You can see it correctly assigned property names and their types.

Since the allNumbers property was generated from an allNumbers variable, which is a List<int>, automated IntelliPrompt recognizes that anon.allNumbers is also a List<int> and shows appropriately. In this screenshot, parameter info is displayed for the List<int>.Add method.

In the last screenshot, we again display the anon members and see that the Key property is a string type since it was initialized with a string value.
Summary
The new anonymous type IntelliPrompt features are available now for both C# and VB in the WPF .NET Languages Add-on and will be included in the next Silverlight Studio build as well.
