[Mono-bugs] [Bug 77668][Nor] Changed - Reflection loses pseudo attributes on return types

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Feb 28 13:44:05 EST 2006


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 atsushi at ximian.com.

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

--- shadow/77668	2006-02-28 13:33:36.000000000 -0500
+++ shadow/77668.tmp.10677	2006-02-28 13:44:05.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 77668
 Product: Mono: Runtime
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: misc
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: toshok at ximian.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -38,6 +38,42 @@
         System.Runtime.InteropServices.MarshalAsAttribute
 
 ------- Additional Comments From toshok at ximian.com  2006-02-28 13:33 -------
 Created an attachment (id=16539)
 test used to generate that output
 
+
+------- Additional Comments From atsushi at ximian.com  2006-02-28 13:44 -------
+(just a follow-up to identify which is the cause of the bug.)
+
+1) compiled with 2.0 csc or gmcs:
+
+$ ./77668.exe
+  Foo
+      hi
+        Foo+FooAttribute
+      <return>
+        Foo+FooAttribute
+        System.Runtime.InteropServices.MarshalAsAttribute
+
+$ mono ./77668.exe
+  Foo
+      hi
+        Foo+FooAttribute
+      <return>
+        Foo+FooAttribute
+
+2) compiled with mcs, or 1.1 csc:
+
+./77668.exe
+  Foo
+      hi
+        Foo+FooAttribute
+      <return>
+        Foo+FooAttribute
+
+  Foo
+      hi
+        Foo+FooAttribute
+      <return>
+        Foo+FooAttribute
+


More information about the mono-bugs mailing list