Study code
Assemblies can be decompiled and presented as C# code, IL code, or original source code can be fetched from local or remote location using PDB files and symbol servers. For more information, refer to Presentation options for compiled code.
Decompiled or source code is shown in the code viewer tabs, which have the look-and-feel of editor tabs in Visual Studio with configurable options for line numbers, word wrap, outlining, white space marks, and more.
The viewer provides all common editor features such as line numbers, word wrap, white space marks, and outlining.
Most of ReSharper-like features are available in the Code Viewer. For instance, Navigate and search features, Syntax highlighting, Quick Documentation, and more.
Various aspects of working with code are described in the following sections:
- Presentation options for compiled code
- Code viewer tabs
- View compiler-generated code
- View metadata tokens
- View intermediate language (IL)
- View high-level and low-level C# code
- Code outlining
- Syntax highlighting
- Parameter Information
- Quick Documentation
- Copy code reference to clipboard
- Structural navigation with Tab and Shift+Tab
- Extend/shrink selection
- Select containing declarations
- Highlighting of matching code elements
- Highlight current line
- Inspect This
- Explore type hierarchy
- Explore type dependency diagram
- Hierarchy window
- Access decompiled files