dnSpyEx/dnSpy

Fails to decompile lambda method

puff opened this issue · 1 comments

puff commented

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

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

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