[Mono-bugs] [Bug 60399][Nor] New - ** ERROR **: Invalid IL code at IL0000 in myTestApp:Main (): IL_0000: ldc.i4.8

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 18 Jun 2004 04:19:25 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by jwezel@compumaster.de.

http://bugzilla.ximian.com/show_bug.cgi?id=60399

--- shadow/60399	2004-06-18 04:19:25.000000000 -0400
+++ shadow/60399.tmp.7052	2004-06-18 04:19:25.000000000 -0400
@@ -0,0 +1,63 @@
+Bug#: 60399
+Product: Mono: Compilers
+Version: unspecified
+OS: Red Hat 9.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Basic
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jwezel@compumaster.de               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ** ERROR **: Invalid IL code at IL0000 in myTestApp:Main (): IL_0000: ldc.i4.8
+
+Description of Problem:
+Runtime exception because of an invalid IL code
+
+Steps to reproduce the problem:
+[root@lwezel root]# cat test.vb
+public module myTestApp
+public sub Main()
+System.Console.WriteLine("hello world!" & chrw(64))
+MyNam.dooutput()
+MyNam.test2.dooutput2()
+System.Console.ReadLine()
+end sub
+end module
+namespace MyNam
+module test
+sub dooutput()
+System.console.writeline("another module output")
+end sub
+end module
+public class test2
+public shared sub dooutput2()
+system.console.writeline("another shared class sub output")
+end sub
+end class
+end namespace
+[root@lwezel root]# mbas test.vb
+--------
+MonoBASIC: THIS IS STILL ALPHA AND UNSUPPORTED SOFTWARE, USE AT YOUR OWN 
+RISK.
+--------
+Compilation succeeded
+[root@lwezel root]# mono test.exe
+
+** ERROR **: Invalid IL code at IL0000 in myTestApp:Main (): IL_0000: 
+ldc.i4.8
+
+
+aborting...
+Abgebrochen
+[root@lwezel root]#
+
+
+
+How often does this happen? 
+everytime with mono beta 3