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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Feb 28 13:32:48 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 toshok at ximian.com.

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

--- shadow/77668	2006-02-28 13:32:48.000000000 -0500
+++ shadow/77668.tmp.10530	2006-02-28 13:32:48.000000000 -0500
@@ -0,0 +1,38 @@
+Bug#: 77668
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: toshok at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Reflection loses pseudo attributes on return types
+
+Custom attributes work fine on return types, but psuedo attributes
+(In,Out,MarshalAs) are dropped.
+
+the attached program outputs the following on mono:
+
+  Foo
+      hi
+        Foo+FooAttribute
+      <return>
+        Foo+FooAttribute
+
+
+and the following on windows:
+
+  Foo
+      hi
+        Foo+FooAttribute
+      <return>
+        Foo+FooAttribute
+        System.Runtime.InteropServices.MarshalAsAttribute


More information about the mono-bugs mailing list