dotPeek 2017.1 Help

Viewing Compiler-Generated Code

If you explore your own assemblies, you may be interested to inspect compiler-generated code. For instance, to see how compiler deals with lambdas, closures, and auto-properties, among other things. For these purposes, dotPeek provides the Show compiler-generated code option that applies globally to all opened decompiled documents in the Code Viewer and to types and members in the Assembly Explorer window.

By default, this option is turned off and dotPeek tries to display original code constructions where available.

To show or hide compiler-generated code

  • Click Turn Compiler-generated Code On/Off /help/img/dotnet/2017.1/ThemedIcon.ShowCompilerCode.Screen.[Gray].png on the toolbar.
  • Tick the Show compiler-generated code check-box on the Decompiler page of dotPeek options.
Last modified: 24 August 2017

See Also