ReSharper
 
Get ReSharper
You are viewing the documentation for an earlier version of ReSharper.

View high-level and low-level C# code

Last modified: 22 December 2022

ReSharper | Windows | IL Viewer

To assign a shortcut, go to Tools | Options | Environment | Keyboard and find the ReSharper_ShowIlViewerWindow command.

The more features for simplifying source code appear in new C# versions, the more compiler-generated code is produced under the hood. ReSharper allows you to study the differences having both the original version in the editor and C# with different levels of syntax sugar in the IL Viewer window simultaneously with proper synchronization.

In the example below, you can see a lot of differences between the original and the low-level C#.

ReSharper: Comparing original and low-level C# code

Here are some differences and use cases for the Low-Level C# and High-Level C# presets.