Whole Tomato Software Forums
Main Site
|
Profile
|
Register
|
Active Topics
|
Members
|
Search
|
FAQ
User name:
Password:
Save Password
Forgot your password?
All Forums
Visual Assist
Technical Support
1555: VA Outline and Generic class with where
New Topic
Reply to Topic
Printer Friendly
Author
Topic
brian_winfield
Senior Member
USA
33 Posts
Posted - May 19 2007 : 5:02:31 PM
VA Outline is not showing the correct class name in the treeview if the class is using generics with a where clause.
Create a class
public class Foo<T>
where T : int
{
}
VA Outline will show T : int as the class name instead of Foo
Brian S Winfield
brian_winfield
Senior Member
USA
33 Posts
Posted - May 19 2007 : 5:04:04 PM
This also applies to generic methods
public bool IsValid<T>() where T : int
{
return false;
}
This also is shown as T : int as the name of the method in the Outline
Brian S Winfield
feline
Whole Tomato Software
United Kingdom
19021 Posts
Posted - May 20 2007 : 2:46:34 PM
Assuming you are using C# then I am seeing the same thing here:
case=6681
zen is the art of being at one with the two'ness
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Visual Assist
Technical Support
Feature Requests
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
© 2023 Whole Tomato Software, LLC
Snitz Forums 2000