Tweets by @Actipro
Please take some time to learn more about us and our product offerings.
The latest build 274 of SyntaxEditor's .NET Language Add-on includes several improvements for generic method support.
First, if you call a generic method (defined as T GenMethod<T>()) passing the generic parameter type like (GenMethod<int>().), the member list that is displayed will be for int.
Demonstrates how the generic extension method ElementAt is applied to a string array twice and SyntaxEditor correctly recognizes the final return value is a char
Second, generic methods on extension methods now resolve types properly as well. This is especially useful with Linq as you can see in the screenshot above. Above, ElementAt is a generic extension method defined on Linq's Enumerable class. The first time it is applied, the string type is returned and the second time it is applied, the char type is returned.
We still have a little more work to do with generic methods but these are some great steps forward!