ReSharper Web Help

ReSharper | Navigate | Base Symbols

The Base Symbols command allows you to navigate up the hierarchy to the base type or method of the current symbol. The opposite navigation is available with the Go to Derived Symbols command.

To navigate to declarations of base symbols
  1. Place the caret on a usage or declaration of a type or method in the code editor.
  2. Choose ReSharper | Navigate | Base Symbols on the main menu, or press Ctrl+U.
  3. If the selected symbol has one base symbol, ReSharper will navigate to it directly.
  4. If the selected symbol has more than one base symbols, they will be listed in the drop-down list.

    Do one of the following:
    • To view the list of base symbols in the Find Results window, click Show in Find Results or press + on the numeric keypad.
    • To navigate directly to the base symbol, select the symbol name in the drop-down list and press Enter.

 Note

If the target symbol belongs to the current solution, ReSharper will open the corresponding file in the editor and set the caret at the type declaration. If the symbol is found in referenced libraries, ReSharper navigates according to the settings defined in the External Sources page of the ReSharper options. For more information, see Navigating to Compiled Code.

You can see when a method overrides, implements, or hides another method by the presence of a special icon (for example, ) that appears at the method declaration on the left gutter of the code editor. Hover the mouse over this icon to see the base type for this method; click the icon to navigate up the methods hierarchy.

 Tip

As mentioned above, if there is only one base symbol, ReSharper will navigate to it directly. However, you can configure ReSharper so that it always displays the pop-up before navigation. To do so, go to the Search & Navigation page of ReSharper options ( ReSharper | Options | Environment | Search & Navigation) and deselect the following check-box: Go to Base/Inheritor: if there is only one result, navigate without displaying the list .

See Also

Procedures