[Mono-bugs] [Bug 42067][Nor] New - monodis does not show return: attributes.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Mon, 28 Apr 2003 20:56:58 -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 miguel@ximian.com.

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

--- shadow/42067	Mon Apr 28 20:56:58 2003
+++ shadow/42067.tmp.21457	Mon Apr 28 20:56:58 2003
@@ -0,0 +1,56 @@
+Bug#: 42067
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: monodis does not show return: attributes.
+
+Monodis does not show the "return:" attributes.
+
+using System;
+using System.Reflection;
+
+[assembly: AssemblyTitle ("Foo")]
+[assembly: AssemblyVersion ("1.0.2")]
+
+namespace N1 {
+
+        [AttributeUsage (AttributeTargets.All)]
+        public class MineAttribute : Attribute {
+
+                string name;
+
+                public MineAttribute (string s)
+                {
+                        name = s;
+                }
+        }
+
+        interface A {
+                [Mine ("hello")]
+                void Hello ();
+        }
+
+        public class Foo {
+
+                int i;
+
+                [Mine ("Foo")]
+                [return: Mine ("Bar")]
+                public static int Main ()
+                {
+                        return 0;
+                }
+        }
+}