Author: robertj
Date: 2007-12-09 09:52:58 -0500 (Sun, 09 Dec 2007)
New Revision: 91003

Modified:
   trunk/mcs/class/corlib/System.Runtime.Remoting.Messaging/ChangeLog
   trunk/mcs/class/corlib/System.Runtime.Remoting.Messaging/MethodCall.cs
Log:
2007-12-04  Robert Jordan  <[EMAIL PROTECTED]>

        * MethodCall.cs (ResolveMethod): Handle server objects registered
        with RemotingServices.Marshal (obj, typeof (ISomeInterface)).
        Fixes #324232. Test case: /trunk/gert/standalone/bug82302/.



Modified: trunk/mcs/class/corlib/System.Runtime.Remoting.Messaging/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Runtime.Remoting.Messaging/ChangeLog  
2007-12-09 14:28:39 UTC (rev 91002)
+++ trunk/mcs/class/corlib/System.Runtime.Remoting.Messaging/ChangeLog  
2007-12-09 14:52:58 UTC (rev 91003)
@@ -1,3 +1,9 @@
+2007-12-04  Robert Jordan  <[EMAIL PROTECTED]>
+
+       * MethodCall.cs (ResolveMethod): Handle server objects registered
+       with RemotingServices.Marshal (obj, typeof (ISomeInterface)).
+       Fixes #324232. Test case: /trunk/gert/standalone/bug82302/.
+
 2007-11-21  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
        * CallContext.cs : added missing 2.0 stuff.

Modified: trunk/mcs/class/corlib/System.Runtime.Remoting.Messaging/MethodCall.cs
===================================================================
--- trunk/mcs/class/corlib/System.Runtime.Remoting.Messaging/MethodCall.cs      
2007-12-09 14:28:39 UTC (rev 91002)
+++ trunk/mcs/class/corlib/System.Runtime.Remoting.Messaging/MethodCall.cs      
2007-12-09 14:52:58 UTC (rev 91003)
@@ -333,7 +333,7 @@
                                // If the method is implemented in an 
interface, look for the method implementation.
                                // It can't be done in the previous 
GetMethodBaseFromName call because at that point we
                                // may not yet have the method signature.
-                               if (requestType != type && 
requestType.IsInterface) {
+                               if (requestType != type && 
requestType.IsInterface && !type.IsInterface) {
                                        _methodBase = 
RemotingServices.GetVirtualMethod (type, _methodBase);
                                        if (_methodBase == null)
                                                throw new RemotingException 
("Method " + _methodName + " not found in " + type);

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

Reply via email to