dotPeek Web Help

Depending on the settings, on the availability of PDB information, and on the applied navigation command , dotPeek can present assembly code in three different ways:

  • Metadata view - this view shows signature of the type and signatures of all its members. You can display this view by applying the Navigate to Metadata View command from the Code Viewer or from the Assembly Explorer.

    Tip

    Alternatively to using Metadata View, you can view file structure.

  • Decompiled code - this view displays decompiled C# code corresponding to the type that you open or navigate to. This view is used by default if no debug information is available for the type or if you deliberately navigated to this view using the Navigate to Decompiled Sources command. You can show or hide compiler-generated code for this view.
  • Code from symbol files - this view displays original code from symbol files in C# or VB.NET. To enable this view, the following conditions should be met:
    • Use debug information for navigation option in the Decompiler page of dotPeek options is enabled and debug information (PDB files) is available for the target assembly locally.
    • Allow downloading from remote locations option in the Decompiler page of dotPeek options is enabled and debug information is available on a symbol server.

Tip

You can open different views of the same document in different tabs simultaneously.

To view the summary and the presentation mode of an opened document, right-click on its tab header and choose External Source Information in the context menu. In the dialog box that appears, you can learn name and location of the assembly where the document belongs as well as the external source provider - decompiler or sources from symbol files.