[Mono-bugs] [Bug 46221][Wis] New - monodis does not use full methodref name for features

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sun, 13 Jul 2003 14:41:02 -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=46221

--- shadow/46221	Sun Jul 13 14:41:02 2003
+++ shadow/46221.tmp.19698	Sun Jul 13 14:41:02 2003
@@ -0,0 +1,78 @@
+Bug#: 46221
+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: monodis does not use full methodref name for features
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+When an event or property is dissasembled the method refs created do are
+not fully qualified. This makes ilasm think they are global methods. 
+
+Steps to reproduce the problem:
+
+1. Compile this library:
+using System;
+
+namespace Test {
+        public class C {
+                public string Str {
+                        get { return ""; }
+                        set { }
+                }
+                public event EventHandler Foo;
+        }
+}
+
+2. monodis the library
+
+Actual Results: (Just the important parts dispplayed)
+
+	.property special runtime string Str ()
+	{
+		.set instance default void set_Str(string value) 
+		.get instance default string get_Str() 
+	}
+	.event [mscorlib]System.EventHandler Foo
+	{
+		.addon instance default void add_Foo(class     
+[corlib]System.EventHandler value) 
+		.removeon instance default void remove_Foo(class
+[corlib]System.EventHandler value) 
+	}
+
+Expected Results:
+
+.property special runtime string Str ()
+	{
+		.set instance default void Test.C::set_Str(string value) 
+		.get instance default string Test.C::set_Str() 
+	}
+	.event [mscorlib]System.EventHandler Foo
+	{
+		.addon instance default void Test.C::add_Foo(class     
+[corlib]System.EventHandler value) 
+		.removeon instance default void Test.C::remove_Foo(class
+[corlib]System.EventHandler value) 
+	}
+
+How often does this happen? 
+
+Allways
+
+
+Additional Information: