dnSpyEx / dnSpy

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

Fails to decompile lambda method #331

Closed puff closed 1 week ago

puff commented 1 week 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 1 week ago

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

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