Whole Tomato Software Forums
Main Site
|
Profile
|
Register
|
Active Topics
|
Members
|
Search
|
FAQ
All Forums
Visual Assist
Technical Support
1555: VA Outline and Generic class with where
You must be registered to post a reply.
Click
here
to register.
Screensize:
640 x 480
800 x 600
1024 x 768
1280 x 1024
UserName:
Password:
Format:
Font
Andale Mono
Arial
Arial Black
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Georgia
Impact
Lucida Console
Script MT Bold
Stencil
Tahoma
Times New Roman
Trebuchet MS
Verdana
Size
1
2
3
4
5
6
Color
Black
Blue
Brown
Green
Red
Violet
Yellow
Message:
Forum code
is on.
Html is off.
[quote][i]Originally posted by brian_winfield[/i] [br]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 [/quote]
Check to include your profile signature.
Check to subscribe to this topic.
T O P I C R E V I E W
brian_winfield
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
2 L A T E S T R E P L I E S (Newest First)
feline
Posted - May 20 2007 : 2:46:34 PM
Assuming you are using C# then I am seeing the same thing here:
case=6681
brian_winfield
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
© 2023 Whole Tomato Software, LLC
Snitz Forums 2000