icsharpcode / ILSpy

.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
21.45k stars 3.35k forks source link

"Save Code..." initiates re-decompilation #482

Closed YellowAfterlife closed 7 years ago

YellowAfterlife commented 10 years ago

... even if class was already decompiled and is being displayed in the right section.

... which is kind of a shame if you have already spent some minutes waiting to see the class in first place.

dgrunwald commented 7 years ago

I'm closing this as by-design; because the save-to-disk decompilation now can produce slightly different code from the normal decompilation (due to escaping invalid identifiers).

However, hopefully the new decompiler engine (which just landed on master) solves the "spend some minutes waiting" problem by being faster.