[Mono-dev] Diagnosing "Invalid IL code"

Gary Briggs chunky at icculus.org
Thu May 12 04:52:28 UTC 2016

I have some code that, when compiled with monodevelop [latest in Ubuntu
15.10], throws an invalid IL code exception when run with mono. This same
code, when compiled with VS2015, does not throw said exception when run
with mono.

Of course, the kicker is that this is VB.NET code at my place of work;
I can't provide binaries or source, and I've been unable to create a
minimal test case because the whole thing clocks in around 20k SLOC.

So... how do I diagnose what's going on? I want to provide a decent bug
report, and obviously "VB.NET code that I can't show you, when compiled
with mono, has invalid bytecode" doesn't cut it.

And advice as to how I can proceed would be appreciated.


More information about the Mono-devel-list mailing list