Good day.

I have another problem with Cecil - it generates broken code.

Example...
Source code: http://www.everfall.com/paste/id.php?odh4x6hvisyk
Original IL generated by MS C# 3.5 SP1 compiler:
http://www.everfall.com/paste/id.php?xryv75qqr41a
Opened and saved IL by Cecil (no explicit changes made):
http://www.everfall.com/paste/id.php?smwthuz4ds0j

Generated code execution fails in runtime with error
"System.InvalidProgramException: Common Language Runtime detected an
invalid program."

If you need compiling sample code, tell me - I'll provide you one.

Thanks in advance.

WBR
Alex

-- 
--
mono-cecil

Subscription settings: http://groups.google.com/group/mono-cecil/subscribe?hl=en

Reply via email to