Cecil, ildasm and the security update 12 Jul 2007


Joutes Sètoises

Since the last security update of the .net 2 framework, ildasm may have some issues with assemblies emitted by Cecil. This goes from a pure ildasm crash, to methods that can't be disassembled. Plus, the behavior is sometimes random. That's clearly a regression in ildasm, because it used to work, and other disassembler are able to read the assembly (Reflector, monodis).

Still, as it seems to happen only with assemblies emitted by Cecil, Cecil must be doing something that ildasm doesn't appreciate anymore, but on the other hand, ildasm shouldn't crash either. I've not yet been able to discover what this particular thing is. I've submited a bug to Microsoft. Let see if they can help telling what's going wrong.