[Mono-bugs] [Bug 46702][Wis] New - mono does not handle mkrefany and refanyval

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Mon, 21 Jul 2003 23:42:14 -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 jackson@latitudegeo.com.

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

--- shadow/46702	Mon Jul 21 23:42:14 2003
+++ shadow/46702.tmp.32391	Mon Jul 21 23:42:14 2003
@@ -0,0 +1,61 @@
+Bug#: 46702
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jackson@latitudegeo.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mono does not handle mkrefany and refanyval
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Mono aborts code that uses mkrefany or refanytype
+
+
+Steps to reproduce the problem:
+1. Compile the following program with ilasm
+
+
+.assembly extern mscorlib { }
+
+.class public Test {
+        .method public static void Main ()
+        {
+                .entrypoint
+                .locals init (object&) // Int32 ref
+                ldloc.0                
+                mkrefany [mscorlib]System.Object
+                refanyval [mscorlib]System.Object
+                pop
+                ret
+        }
+}
+
+
+2.  Run
+
+Actual Results:
+** ERROR **: opcode 0xc6 not handled
+aborting...
+Aborted
+
+
+Expected Results:
+Nothing
+
+How often does this happen? 
+Allways
+
+Additional Information:
+This program compiled with our ilasm runs on MS runtime and passes all
+peverify tests.