2007-10-30 Robert Jordan <[email protected]>
* RemotingServices.cs: (InternalExecuteMessage):
Resolve interface methods using the new icall GetVirtualMethod ().
Remove the now obsolete GetMethodBaseFromName + generic params
overloads.
In System.Runtime.Remoting.Messaging:
2007-10-30 Robert Jordan <[email protected]>
* MethodCall.cs (ResolveMethod): Lookup the interface
using RemotingServices.GetVirtualMethod (). Eliminates
the costly GetMethodBaseFromName () call.
svn path=/trunk/mcs/; revision=88434
2007-08-30 Robert Jordan <[email protected]>
* RemotingServices.cs (InternalExecuteMessage): Resolve interface
methods correctly. Fixes#81554. Ditto for generic methods.
* RemotingServices.cs (GetMethodBaseFromName): Reuse already computed
FieldSetter|GetterMethods.
* RemotingServices.cs (GetMethodBaseFromName): New overload that
takes generic arguments into account.
In System.Runtime.Remoting.Messaging:
2007-09-07 Robert Jordan <[email protected]>
* MethodCall (ResolveMethod): Handle generic methods in the
code that was introduced as a fix for #82240.
Fixes#81554.
svn path=/trunk/mcs/; revision=85525
* MethodCall.cs (ResolveMethod): If the method is implemented
in an interface, look for the method implementation. Fix for bxc
#82240
svn path=/trunk/mcs/; revision=83216
2006-12-25 Robert Jordan <[email protected]>
* MethodCall.cs: Add support for generic methods.
* MethodCall.cs (GetTypeNameFromAssemblyQualifiedName):
Add support for generic types.
* ReturnMessage.cs: Fix bug #80371.
In System.Runtime.Serialization.Formatters.Binary:
2006-12-25 Robert Jordan <[email protected]>
* binary_serialization_format.htm: Update the NET_2_0 format.
* BinaryCommon.cs: MethodFlags is actually an int32. Add NET_2_0 flags.
* MessageFormatter.cs: Add support for generic method arguments.
* ObjectWriter.cs, ObjectReader.cs: Map between System.MonoType and
MS.NET's System.RuntimeType.
svn path=/trunk/mcs/; revision=70683
* MethodCall.cs, CADMessages.cs: Added missing unmarshalling case
for IntPtr. When getting the method from the CAD message,
check that the same declaring type is loaded in the target domain
from the same assembly. If it is not, get the correct type and
method for the domain.
svn path=/trunk/mcs/; revision=63340
* LogicalCallContext.cs, MethodCall.cs, ReturnMessage.cs,
MethodResponse.cs: Create a new LogicalCallContext for
every message. Fixes#77364 again.
svn path=/trunk/mcs/; revision=56586
* LogicalCallContext.cs: Added shared empty call context.
* MethodCall.cs: Added better error checking and reporting in
the code that resolves methods.
* ReturnMessage.cs, MethodResponse.cs, MethodCall.cs: Never return null in
LogicalCallContext. If it's null, return an empty context. Based
on a patch by Dominic Ullmann that fixes bug #77364.
svn path=/trunk/mcs/; revision=56355
* MethodReturnMessageWrapper.cs: ArgCount now returns the count
from the internal arg array, since it may change.
* MonoMethodMessage.cs: Added NeedsOutProcessing helper method.
svn path=/trunk/mcs/; revision=46359
will reference the object being created).
* StackBuilderSink.cs: Take into account the forceInternalExecute
parameter.
svn path=/trunk/mcs/; revision=34255
* CADMessages.cs: get rid of method / type name, it is not needed
* MethodCall.cs: lazily init method / type name.
* ReturnMessage.cs: lazily init method / type name, sig.
svn path=/trunk/mcs/; revision=33765
* CADMessages.cs, MethodCall.cs: When doing an x-appdomain
call, store the method in a RuntimeMethodHandle. This allows
us to avoid the expensive lookup operations that must be done
to resolve the method. This makes xsp go from 250 r/s to 450 r/s
for me.
svn path=/trunk/mcs/; revision=33755
* MethodCall.cs, CADMessages.cs: String.Copy (x) is the same
thing as new string (x.ToCharArray ()), however it involves
half the memory allocation
svn path=/trunk/mcs/; revision=33369
* MethodResponse.cs, ReturnMessage.cs: Handle output parameters in a
different way. The message is constructed from an array that has all
parameters, including input parameters (which will be set to null).
The Args property returns all arguments. OutArgs returns only the
output arguments, which are taken from the provided args list.
svn path=/trunk/mcs/; revision=26186
I thought that async_delegate was the callback, but it is not, it is the
delegate upon which the async call was invoked. This fixes bug #53020.
* StackBuilderSink.cs: If the target object is a proxy, make the call
using the Invoke method of the real proxy.
svn path=/trunk/mcs/; revision=22246
context.
* ConstructionCall.cs: Fixed signature of some methods.
* ConstructionResponse.cs: Fixed signature of constructor and added missing
property.
* LogicalCallContext.cs: Removed TODO.
* MethodCall.cs, MethodResponse.cs: Added support for LogicalCallContext in
consturctor.
* MethodReturnMessageWrapper.cs: Removed some unneded methods.
svn path=/trunk/mcs/; revision=20084