Author: miguel
Date: 2005-06-28 18:54:26 -0400 (Tue, 28 Jun 2005)
New Revision: 46680
Modified:
trunk/mcs/mcs/ChangeLog
trunk/mcs/mcs/pending.cs
Log:
2005-06-28 Miguel de Icaza <[EMAIL PROTECTED]>
* pending.cs: Do not define a proxy if the base method is virtual,
it will be picked up by the runtime (bug 75270).
Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog 2005-06-28 22:53:58 UTC (rev 46679)
+++ trunk/mcs/mcs/ChangeLog 2005-06-28 22:54:26 UTC (rev 46680)
@@ -1,3 +1,8 @@
+2005-06-28 Miguel de Icaza <[EMAIL PROTECTED]>
+
+ * pending.cs: Do not define a proxy if the base method is virtual,
+ it will be picked up by the runtime (bug 75270).
+
2005-06-08 Martin Baulig <[EMAIL PROTECTED]>
The big Iterators rewrite :-)
Modified: trunk/mcs/mcs/pending.cs
===================================================================
--- trunk/mcs/mcs/pending.cs 2005-06-28 22:53:58 UTC (rev 46679)
+++ trunk/mcs/mcs/pending.cs 2005-06-28 22:54:26 UTC (rev 46680)
@@ -535,8 +535,9 @@
//
MethodInfo base_method = (MethodInfo) list [0];
- if (!base_method.IsAbstract)
+ if (!base_method.IsAbstract && !base_method.IsVirtual)
DefineProxy (iface_type, base_method, mi, args);
+
return true;
}
@@ -570,7 +571,7 @@
if (BaseImplements (type, mi))
continue;
-
+
if (pending_implementations
[i].optional)
continue;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches