2

Obviously this would be scoped to the current solution, but I need to find all the types that inherit from a particular base type. The Object Browser seems to only support backtracking through the inheritance tree from a given type.

Ralph Shillington
  • 20,718
  • 23
  • 91
  • 154
  • On the "Browse" dropdown box of the Object Browser select an item other than "My Solution" or "All Components". For example select ".NET Framework 4" or ".NET Framework 4.5" – jflaga May 22 '13 at 13:03

2 Answers2

1

Actually, this is weird:

On this MSDN page, it says:

Show Derived Types

Toggles display of derived types in the Objects pane. Available only for Visual C++ projects and the .NET Framework.

But the option 'Show Derived Types' doesnt appear for me in the Object Browser settings.

Alternatively, if you have ReSharper its just:

Press alt + end once you've clicked on the class in object browser.

Or right click on class > Derived Symbols.

Nobody
  • 4,731
  • 7
  • 36
  • 65
  • 1
    vs2012 (maybe 2010 as well?) you can use "Class View" (different than Object Browser). Browse to the type, r-click -> View Class Diagram. Then, on the diagram, r-click on the type -> Show Derived Classes. – Hawkeye Parker Apr 19 '13 at 23:32
  • 2
    If you want to view derived classes of types from the >NET framework -- On the "Browse" dropdown box of the Object Browser select an item other than "My Solution" or "All Components". For example select ".NET Framework 4" or ".NET Framework 4.5" – jflaga May 22 '13 at 13:04
-1

With cursor on the type, right click - Inspect - Hierarchy

Tim
  • 84
  • 1
  • 1
  • VS 2012 Premium: I do not see the "Inspect" menu option in the code editor or in the Object Browser. Where do you see "Inspect"? – Hawkeye Parker Apr 19 '13 at 23:35