Author: zoltan
Date: 2006-03-12 13:32:10 -0500 (Sun, 12 Mar 2006)
New Revision: 57876
Modified:
trunk/mcs/class/corlib/System.Reflection/Binder.cs
trunk/mcs/class/corlib/System.Reflection/ChangeLog
Log:
2006-03-12 Zoltan Varga <[EMAIL PROTECTED]>
* Binder.cs: Applied patch from Ben to fix #74947.
Modified: trunk/mcs/class/corlib/System.Reflection/Binder.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/Binder.cs 2006-03-12 18:04:34 UTC
(rev 57875)
+++ trunk/mcs/class/corlib/System.Reflection/Binder.cs 2006-03-12 18:32:10 UTC
(rev 57876)
@@ -194,6 +194,9 @@
if (to.IsByRef != from.IsByRef)
return false;
+ if (to.IsInterface)
+ return to.IsAssignableFrom (from);
+
switch (fromt) {
case TypeCode.Char:
switch (tot) {
Modified: trunk/mcs/class/corlib/System.Reflection/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/ChangeLog 2006-03-12 18:04:34 UTC
(rev 57875)
+++ trunk/mcs/class/corlib/System.Reflection/ChangeLog 2006-03-12 18:32:10 UTC
(rev 57876)
@@ -1,3 +1,7 @@
+2006-03-12 Zoltan Varga <[EMAIL PROTECTED]>
+
+ * Binder.cs: Applied patch from Ben to fix #74947.
+
2006-03-01 Miguel de Icaza <[EMAIL PROTECTED]>
* Assembly.cs: Cache the AssemblyName, patch from Tambet. This
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches