Closed mkrueger closed 6 years ago
Which version of the decompiler engine are you using? Using the latest master and the assembly you provided, I get the following output:
This should be the desired output, I think. Also the assertion is no longer failing, because the missing using System has been added.
@mkrueger any feedback?
3.1.0.3652 updating to 3.2 solves the issue - thanks.
copied from #1111 - it's still an issue today.
mscorlib that shows the issue:
https://www.dropbox.com/s/sdbeyc6ds7yjem0/mscorlib.dll?dl=0
Got that on mono - however I can't open the decompiler project myself for some reason it doesn't load on linux - so I just report that one:
Given the System.DayOfWeek enum which is decompiled as :
The IL for the mono version of that looks a bit strange because the value sorting is wrong :
Note that when using debug builds an assertion is hit: