[Mono-bugs] [Bug 40123][Min] Changed - Type.IsInstanceOfType does not handle Interfaces.
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Mon, 24 Mar 2003 21:44:48 -0500 (EST)
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=40123
--- shadow/40123 Fri Mar 21 13:57:17 2003
+++ shadow/40123.tmp.32262 Mon Mar 24 21:44:48 2003
@@ -1,14 +1,14 @@
Bug#: 40123
Product: Mono/Class Libraries
Version: unspecified
OS: All
OS Details:
-Status: NEW
-Resolution:
-Severity:
+Status: RESOLVED
+Resolution: FIXED
+Severity: Unknown
Priority: Minor
Component: CORLIB
AssignedTo: mono-bugs@ximian.com
ReportedBy: tom@acquist.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -96,6 +96,13 @@
Type [] ifaces = t.GetInterfaces ();
return (Array.IndexOf (ifaces, this) != -1);
}
}
return false;
}
+
+------- Additional Comments From gonzalo@ximian.com 2003-03-24 21:44 -------
+Fixed in CVS. I just call IsAssignableFrom (o.GetType ()), which
+already does the same as your proposed fix.
+
+Thanks!
+