Author: miguel
Date: 2005-06-28 18:57:41 -0400 (Tue, 28 Jun 2005)
New Revision: 46682

Modified:
   trunk/mcs/gmcs/ChangeLog
   trunk/mcs/gmcs/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/gmcs/ChangeLog
===================================================================
--- trunk/mcs/gmcs/ChangeLog    2005-06-28 22:56:18 UTC (rev 46681)
+++ trunk/mcs/gmcs/ChangeLog    2005-06-28 22:57:41 UTC (rev 46682)
@@ -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-28  Martin Baulig  <[EMAIL PROTECTED]>
 
        * cs-parser.jay (interface_method_declaration): Avoid a

Modified: trunk/mcs/gmcs/pending.cs
===================================================================
--- trunk/mcs/gmcs/pending.cs   2005-06-28 22:56:18 UTC (rev 46681)
+++ trunk/mcs/gmcs/pending.cs   2005-06-28 22:57:41 UTC (rev 46682)
@@ -542,7 +542,7 @@
                        //
                        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;
                }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to