ReSharper Web Help

You can build and view the hierarchy for a type in the Hierarchy window. You must build at least one type hierarchy before viewing. Every time you build a new hierarchy, a new tab is added.

To build and view type hierarchy
  1. Open the desired class in the editor, and place the caret on a type or member.
  2. On the main menu, choose ReSharper | Inspect | Type Hierarchy, or press Ctrl+Alt+H.
  3. Examine type hierarchy in the dedicated tab that adds to the Hierarchy window.


Starting from ReSharper 5, Type Hierarchy can be accessed via Inspect This .

At any time you can view and examine previously generated hierarchies. To do that, choose ReSharper | Windows | Hierarchies on the main menu.
Some symbols in the tree are displayed in a bold font. That means that they inherit directly from the class being examined.

Hierarchies can be rather complicated, so it is difficult to find one particular symbol especially when you have doubts about its name and place in the hierarchy. In such case you can start typing a part of its name and ReSharper narrows down the set of elements in the Hierarchies window.

If you want to see what modules contain symbols in the hierarchy, click Modules in the Group by list.

To rebuild a hierarchy for an intermediate type
  1. In the hierarchy tree view, select the desired node.
  2. On the context menu of the selection, choose Base on This.
To preview members of a type selected in the hierarchy
  1. Select a type in the hierarchy.
  2. Click Show Members in the Hierarchy window toolbar, or press Alt+P. The members preview pane displays at the bottom of the Type Hierarchy window:

    You can move it to the right of the window by clicking the down arrow next to the Show Members button in the toolbar and selecting Right.
    You can also preview either all members of a type, or just those that are polymorphic. To switch between these two modes, use the All Instance Members and Only Polymorphic Members buttons at the top of the preview pane.

See Also