Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » CLR   (RSS)

"Common Language Runtime detected an invalid program" - InvalidProgramException - When your application has a really large method.

If you've written a whole bunch (and I mean a really big WHOLE bunch) of code inside a method, constructor or the like, there is a good chance you'll see this exception. We had an application that would generate an Assembly using CodeDom based on certain
Posted by mjeelani | 9 Comments
Filed under: ,
 
Page view tracker