[Mono-bugs] [Bug 43190][Nor] New - MCS generates invalid IL when creating IntPtr []
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Fri, 16 May 2003 18:17:27 -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 bmaurer@users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=43190
--- shadow/43190 Fri May 16 18:17:27 2003
+++ shadow/43190.tmp.24349 Fri May 16 18:17:27 2003
@@ -0,0 +1,35 @@
+Bug#: 43190
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details:
+Status: NEW
+Resolution:
+Severity: Unknown
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: bmaurer@users.sf.net
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: MCS generates invalid IL when creating IntPtr []
+
+Description of Problem:
+The following program will not work:
+public class Bug {
+ public static void Main () {
+ System.IntPtr [] arr = { new System.IntPtr () };
+ }
+}
+
+Actual Results:
+Compiles fine, when run:
+** ERROR **: Invalid IL code at IL0017 in 00 .Bug:Main (): IL_0017: stelem.i
+
+Expected Results:
+Should run without exception.
+
+How often does this happen?
+Always