[Mono-bugs] [Bug 67088][Wis] Changed - AttributeCollection [Type t] does not support Attribute inheritance

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 1 Oct 2004 00:32:59 -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 gonzalo@ximian.com.

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

--- shadow/67088	2004-09-30 16:34:08.000000000 -0400
+++ shadow/67088.tmp.14533	2004-10-01 00:32:59.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 67088
 Product: Mono: Class Libraries
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Wishlist
 Component: System
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: sr@sander.yi.org               
 QAContact: mono-bugs@ximian.com
@@ -74,6 +74,19 @@
 
 ------- Additional Comments From sr@sander.yi.org  2004-09-30 16:34 -------
 I don't know what happened, but I managed to mess up 2 patches, sorry
 for that.
 
 Patch #3 should be correct.
+
+------- Additional Comments From gonzalo@ximian.com  2004-10-01 00:32 -------
+Actually, just:
+-                                       if (a.GetType () == type){
++                                       if (type.IsAssignableFrom
+(a.GetType ())) {
+
+works, because IsAssignableFrom already checks for type equality.
+
+Fixed in CVS.
+
+Thanks.
+