ReSharper 2016.3 Help

Viewing Intermediate Language (IL)

ReSharper | Windows | IL Viewer

ReSharper allows you to study your source code and decompiled symbols in the intermediate language.

Using IL Viewer

When you open symbols from compiled assemblies, you can always study them in the intermediate language independently of their presentation in the editor. Even if the symbol is displayed in the original source file obtained through PDB, ReSharper will find the related piece of IL code for it.

To view intermediate language (IL) for a decompiled symbol

  1. Choose ReSharper | Windows | IL Viewer in the main menu.
  2. If you are in decompiled code, you can also invoke the Navigate To (Ctrl+Shift+G) and choose IL Code.
  3. By default, while the window is open the IL view is synchronized with the caret position in the code viewer and matching code is highlighted. To change that, click Track Caret in Editor /help/img/dotnet/2016.3/ThemedIcon.SyncCaretToView.Screen.[Gray].png on the toolbar of the IL Viewer.
Using IL Viewer

In the IL Viewer window, you can learn descriptions of IL instructions in tooltips when hovering the mouse over an instruction. The descriptions are taken from MSDN and from the ECMA-335 standard (Partition III: CIL Instruction Set).

Details of IL instruction in a tooltip

When you set the caret on a code symbol or instruction, all usages of this item are highlighted. Loops in your code can be distinguished by corresponding indents and comments.

See Also

Last modified: 3 April 2017