dotPeek 2020.3 Help

Go to Derived Symbols

Navigate | Derived Symbols
Alt+Control+B

This command gets the list of all derived symbols for the current symbol and lets you navigate directly to one of them, down the inheritance hierarchy. There is a similar command, Go to Implementation, which lists only implementations, without intermediate steps in the inheritance chain.

You can invoke this command from the Assembly Explorer, from the File Structure window and other tool windows. If necessary, you can navigate in the opposite direction with the Go to Base Symbols command.

Navigate to derived symbols

  1. Place the caret at a symbol in the code viewer or select the symbol in a tool window.

  2. Press Alt+Control+B or choose Navigate | Derived Symbols from the main menu. Alternatively, you can press Control+Shift+A, start typing the command name in the popup, and then choose it there.

  3. If the symbol has only one derived symbol, dotPeek navigates to it directly.

  4. If the symbol has several derived symbols, they will be listed in a drop-down. The list may contain items in both bold and regular font. Bold indicates that an item has direct inheritance, while the regular font is used for indirect inheritance.

    You can do one of the following:

    • Click the desired item to open it in the editor.

    • Select the desired item by pressing Up and Down and then press Enter to open it in the editor.

    • Start typing to filter results. Note that you can use CamelHumps here. If necessary, press Esc once to clear the filtering.

    • To view and analyze the list of matched items in the Find Results window, click Show in Find Results Themed icon search results screen gray, press Shift+Enter or + on the numeric keypad.

    • To show the matched items on the type dependency diagram, press Alt+Num+ or click Show on Diagram Themed icon type layout alt screen gray.

When a type or a member has inheritors in the current solution, you can see it by the presence of a special icon (for example, Themed icon has overrides screen gray) that appears to the left of the declaration. You can click the icon to expand the list of derived symbols and navigate.

dotPeek: 'Symbol has overrides' tooltip

This feature is inspired by and borrowed from JetBrains ReSharper, a developer productivity tool for Microsoft Visual Studio.

Last modified: 08 March 2021