[Mono-bugs] [Bug 62372][Wis] Changed - GetCustomAttributes does not return SerializableAttribute (2.0)

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 11 Aug 2004 17:31:49 -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 sebastien@ximian.com.

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

--- shadow/62372	2004-08-03 14:22:09.000000000 -0400
+++ shadow/62372.tmp.26770	2004-08-11 17:31:49.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 62372
 Product: Mono: Runtime
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: duncan@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -37,6 +37,15 @@
                 }
         }
 }
 
 On net-2-0, it'll return both FooAttribute as well as
 System.SerializableAttribute.
+
+------- Additional Comments From sebastien@ximian.com  2004-08-11 17:31 -------
+Here's a limited patch. It's not complete but it does make corcompare
+pages more accurate (as it doesn't every [Serializable] attributes as
+missing). This drops about 500 missing only in corlib.
+
+Note that I patched MonoCustomAttrs.cs, and not the runtime. I think
+this is best if we want to keep a single runtime to support both CLR
+1.1/2.0 (and keep both behaviour correct).