dnSpyEx / dnSpy

Unofficial revival of the well known .NET debugger and assembly editor, dnSpy
GNU General Public License v3.0
7.02k stars 462 forks source link

Fails to decompile lambda method #331

Closed puff closed 5 months ago

puff commented 5 months ago

dnSpyEx version

6.5.1-rc1

Describe the Bug

QueryWatcher doesn't decompile in C# mode. In IL with C# mode, it does decompile. image Going to QueryWatcher brings you to the top of the decompiler page in C# mode. In IL with C# mode, it outputs decompilation along with IL code.

How To Reproduce

Sent sample in Discord DM

Expected Behavior

Decompilation

Actual Behavior

No decompilation

Additional Context

No response

puff commented 5 months ago

disregard, Options -> Decompiler -> "Show hidden compiler generated types and methods" wasn't enabled. image

After enabling it, it now jumps to decompilation. Thanks!