views:

81

answers:

3

Hello everyone,

If I find out about a new interface,does Visual Studio provide any means to find out all the classes that have inherited that interface?

No,I don't want the C# code to do that..I know that's available at stackoverflow itself.I just want to know if Visual Studio has any functionality to findout this info for any interface through intellisense or any shortcut??

Thanks

+2  A: 

Visual Studio does not have this functionality. Resharper does. I think the closest you can get is right click on the interface and select Find All References.

Darin Dimitrov
Thanks Darin ...Resharper is a commercial tool tho...I wish there were free ones to do this...
Josh
+2  A: 

Actually, VS can do it.

Go to the Object Browser, select .Net Framework vX, then navigate to an interface and expand Derived Types.

In VS2010, this feature is available in all views, but in earlier versions, it's only available in a complete framework list.

As other people have noted, Reflector can also do this, and, unlike Resharper, it is free.

SLaks
Object Explorer works well...Howeever,I wish there was some way to get this info directly from intellisense. I guess that's made possible only by commercial apps...
Josh
+1  A: 

Reflector does, it is free and excellent. Search for the interface name and expand the "Derived Types" node.

Hans Passant