[MonoDevelop] exception thrown with simple VBA program

Clark linuxguy cgable2003 at gmail.com
Tue May 29 13:45:17 UTC 2012


I wrote a simple program for calculating factorials:
http://codepad.org/49XoUmJw
It compiles file with vbnc
when I run it it crashes with an exception:

./factorial.exe
Unhandled Exception: System.InvalidProgramException: Invalid IL code in
Application:Main (): IL_0000: ldarg.0

Does anyone know what is wrong or how to fix it?

I am using vbnc version 0.0.0.5917

Mono JIT compiler version 2.6.7 (Debian 2.6.7-5)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
TLS:           __thread
GC:            Included Boehm (with typed GC and Parallel Mark)
SIGSEGV:       altstack
Notifications: epoll
Architecture:  amd64
Disabled:      none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20120529/661006ac/attachment.html>


More information about the Monodevelop-list mailing list