Author: zoltan
Date: 2006-06-18 06:34:15 -0400 (Sun, 18 Jun 2006)
New Revision: 61825
Modified:
trunk/mcs/class/corlib/System.Runtime.Remoting.Proxies/ChangeLog
trunk/mcs/class/corlib/System.Runtime.Remoting.Proxies/RealProxy.cs
Log:
2006-06-18 Zoltan Varga <[EMAIL PROTECTED]>
* RealProxy.cs (ProcessResponse): Use t.GetElementType
().IsInstanceOfType () when the type is a byref.
Modified: trunk/mcs/class/corlib/System.Runtime.Remoting.Proxies/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Runtime.Remoting.Proxies/ChangeLog
2006-06-17 22:57:30 UTC (rev 61824)
+++ trunk/mcs/class/corlib/System.Runtime.Remoting.Proxies/ChangeLog
2006-06-18 10:34:15 UTC (rev 61825)
@@ -1,3 +1,7 @@
+2006-06-18 Zoltan Varga <[EMAIL PROTECTED]>
+
+ * RealProxy.cs (ProcessResponse): Use t.GetElementType
().IsInstanceOfType () when the type is a byref.
+
2005-06-22 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* RealProxy.cs: Extract the output arguments from the message's
Modified: trunk/mcs/class/corlib/System.Runtime.Remoting.Proxies/RealProxy.cs
===================================================================
--- trunk/mcs/class/corlib/System.Runtime.Remoting.Proxies/RealProxy.cs
2006-06-17 22:57:30 UTC (rev 61824)
+++ trunk/mcs/class/corlib/System.Runtime.Remoting.Proxies/RealProxy.cs
2006-06-18 10:34:15 UTC (rev 61825)
@@ -314,7 +314,7 @@
else if (par.ParameterType.IsByRef)
{
object outArg = par.Position <
mrm.ArgCount ? mrm.GetArg (par.Position) : null;
- if (outArg != null &&
!par.ParameterType.IsInstanceOfType (outArg))
+ if (outArg != null &&
!par.ParameterType.GetElementType ().IsInstanceOfType (outArg))
{
throw new
InvalidCastException ("Return argument '" + par.Name + "' has an invalid type");
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches