Navigate and Search in Compiled Code

  • 2 minutes to read

Use the following tools to navigate through the source code of compiled assemblies:

Decompiler

The Decompiler Window allows you to decompile an assembly in Visual Studio.

Follow the steps below to jump to an element declaration located in a compiled assembly.

  • Choose the CodeRush | Windows | Decompiler menu item to open the Decompiler Window.

    Invoke

  • Click the Active Project References or Solution References button to load referenced assemblies.

    Decompiler_Window

    If you want to decompile an assembly that is not referenced in your solution, click Open... from the File group.

  • Click an element reference in the code viewer to jump to the element source code.

    Invoke

Jump To Window

The Jump To Window allows you to navigate to a type or member located in a compiled assembly.

  • Place the caret in any symbol reference.

  • Press Ctrl + Alt + N to invoke the Jump To window.

  • Select Declaration and press Enter.

    CRR_JumpToDecompiled

CodeRush navigates to the declaration of a member/type in the decompiled code.

CRR_JumpToDecompiled

Enable the F12 Shortcut to Jump to Decompiled Code

  • Select CodeRush\Shortcuts... from Visual Studio's menu to open the Shortcuts options page.

Config_Shortcuts_Access

  • Use the search text box on the Shortcuts page to find the F12 shortcut.

  • Select this entry and enable the F12 shortcut in it.

EnableShortcut

  • Click the OK button to close the options dialog and save the changes.