ReSharper Web Help

ReSharper | Go To | Inheritor in ReSharper 4.5
ReSharper | Navigate | Derived Symbols in ReSharper 5.0

This action is the opposite to Go To Base Symbols : it behaves similarly but navigates the type hierarchy in the opposite direction. In most cases, there are several inheritors of the same item, that is, there is more than one derived class, or more than one overriding method. Thus, before repositioning the caret, ReSharper displays the list of possible inheritors for the user to choose.

To navigate to an inheritor
  1. Place the caret at the desired class.
  2. On the main menu, choose ReSharper | Navigate | Derived Symbols, or press Ctrl+Alt+B.
  3. Select the desired inheritor.

     Tip

    To display the list of found inheritors in the Find Results window, press + on the numeric keypad.

In the following example, the base class Class1 has two inheritors, Class2 and Class3. Position the caret as follows:
Go to Derived Symbols
After you press Ctrl+Alt+B, the following list is displayed:
Go to Derived Symbols
Choose the desired inheritor to get the caret positioned at the corresponding declaration.

 Note

The drop-down list that shows inheritors may contain items in both bold and regular font. Bold indicates that an item represents a direct inheritor, while regular is used for indirect inheritors.

See Also

Procedures