[Mono-bugs] [Bug 509421] New: System.InvalidProgramException: Invalid IL code in extremely simple program
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Jun 3 04:39:54 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=509421
Summary: System.InvalidProgramException: Invalid IL code in
extremely simple program
Classification: Mono
Product: Mono: Compilers
Version: 2.0.x
Platform: i686
OS/Version: Ubuntu
Status: NEW
Severity: Major
Priority: P5 - None
Component: Basic
AssignedTo: rkvinge at novell.com
ReportedBy: gonnetp at inf.ethz.ch
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Created an attachment (id=295900)
--> (http://bugzilla.novell.com/attachment.cgi?id=295900)
Classes and input file
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10)
Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10
I'm trying to write a simple dictionary program using VisualBasic. The two
source files are attached. The Classes compile just fine, but when I try to run
it I get
Unhandled Exception: System.InvalidProgramException: Invalid IL code in
Application:Main (): IL_002f: ldarg.0
If I uncomment line 22 of Application.vb, I don't get the error, so I assume it
has to do with the call to "WB.Einfuegen".
I'm somewhat new to VisualBasic, so I might be doing something wrong, but the
type of error (Invalid IL code) leads me to believe this may be a compiler
problem.
Reproducible: Always
Steps to Reproduce:
1. Compile the attached Classes
2. Run the Application Class
3. Check out the error
Actual Results:
Unhandled Exception: System.InvalidProgramException: Invalid IL code in
Application:Main (): IL_002f: ldarg.0
Expected Results:
Das Woerterbuch wurde erfolgreich geladen!
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list