ReSharper
 
Get ReSharper
Get your hands on the new features ahead of the release by joining the Early Access Program for ReSharper 2025.1! Learn more

Explore type hierarchy

Last modified: 23 September 2024

With ReSharper, you can investigate the inheritance hierarchy of types from your solution and from referenced libraries. You can see both base types and inheritors of the selected type and navigate to any of them with a mouse click. For any node in the hierarchy, you can view all or only polymorphic members in the preview pane.

Some symbols in the tree are displayed in a bold font. It means that they inherit directly from the type being examined.

Viewing type hierarchy

Hierarchies can be rather complicated, making it 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 symbol's name or its CamelHumps abbreviation and ReSharper narrows down the set of elements in the window:

Filtering members in type hierarchy

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

You can also visualize the current hierarchy on the type dependency diagram by clicking the Show on Diagram ThemedIcon.TypeLayoutAlt.Screen.(Gray).png on the toolbar.

This feature is supported in the following languages and technologies:

The instructions and examples given here address the use of the feature in C#. For more information about other languages, refer to corresponding topics in the Languages and frameworks section.