Hacker News new | ask | show | jobs
by exhilaration 4064 days ago
How does this compare to dotPeek from JetBrains? https://www.jetbrains.com/decompiler/
2 comments

Much better for newer features... for async/await dotpeek would show state machine ( which was actually cool to see), but JustDecompile would actually show me async await in decompiled code.

ALSO, coolest feature is decompile to csproj ... very nice ;)

I had the opposite experience. DotPeek created much better code. using statements were decompiled as usings, JustDecompile produced try/finally blocks.
DotPeek has the option to export decompiled code to a project and solution.
Agreed. I used it just for the decompile to project.
Sorry I just downvoted you, fat fingered on an ipad. They really need to fix those on mobile.

Anyway, intended to say that in my experience, all 4 major decompilers get tripped up on slightly different things. Between dotpeek, reflector, ilspy, and justdecompile, none could get everything right and I have to take pieces from each to get something buildable again.

It would be so kind of you to create an github issue for things you find ILSpy gets wrong. https://github.com/icsharpcode/ILSpy/issues