* ObjRef.cs (GetRealObject): Revert previous patch as it doesn't
cope well with CAD remoting, which doesn't flag well-known types.
svn path=/trunk/mcs/; revision=153105
* RemotingServices.cs (InternalExecuteMessage): Properly
handle generic methods. We can't call MakeGenericMethod on
a non GMD method.
svn path=/trunk/mcs/; revision=150925
2009-07-11 Robert Jordan <[email protected]>
* ComInteropProxy.cs: Implement CreateProxy. Hide public/internal
ctors forcing CreateProxy's usage. Hide CacheProxy since the
runtime is able to lookup it anyways.
Fixes bug #520437.
In System:
2009-07-19 Robert Jordan <[email protected]>
* __ComObject.cs: Factor out Initialize method and expose it to
ComInteropProxy. Fixes bug #520437.
In System.Runtime.Remoting:
2009-07-11 Robert Jordan <[email protected]>
* RemotingServices.cs: Track ComInteropProxy's changes.
svn path=/trunk/mcs/; revision=138182
* RemotingServices.cs (GetDomainProxy): Make a copy of the array
created in the other app domain so as not to pollute our own.
svn path=/trunk/mcs/; revision=132066
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
* RemotingServices.cs: Make sure InternalExecute doesn't get
called with a null method, because that makes it crash. Throw a
NullReferenceException instead. Doesn't fix bug #82302, but
prevents the crash.
svn path=/trunk/mcs/; revision=84154
* RemotingServices.cs: FieldSetter and FieldGetter methods need
to be handled in a special way, since they are the only private
methods which can be called from a subclass.
In UpdateOutArgObject, removed support for StringBuilder objects,
now supporting only arrays, like MS.NET.
svn path=/trunk/mcs/; revision=70641
* RemotingServices.cs: Avoid generating urls with negative numbers.
When building the url for the RemoteActivationService service,
avoid duplicate path separator.
svn path=/trunk/mcs/; revision=68313
* ObjRef.cs: Throw a TypeLoadException exception if the referenced
type can't be found. That's better than a nullref.
svn path=/trunk/mcs/; revision=64279
* RemotingServices.cs: Assert SerializationFormatter permissions if
the runtime wants to do cross-appdomain serialization (this will need
to be better reviewed/tested later but it fix some current issues).
svn path=/trunk/mcs/; revision=59215
* RemotingConfiguration.cs: The value for customErrors tag must be
case-insensitive. Fixes bug #76466 (patch by Robert Jordan).
svn path=/trunk/mcs/; revision=51861
* ObjRef.cs: Use IsInstanceOfType instead of IsAssignableFrom
since GetType() may not return the correct type if the object is
a remoting proxy.
svn path=/trunk/mcs/; revision=44637
the cross app domain wrappers.
In GetOrCreateClientIdentity(), set the domain of the proxy if it
references an object in another domain.
svn path=/trunk/mcs/; revision=35964
The MethodBase in the message may not be the same type of the object
(the method can be called using an interface).
svn path=/trunk/mcs/; revision=34280
of MonoMethod, so it can be also used for running constructors.
* ServerIdentity.cs: Added methods for getting and setting the client
proxy in ClientActivatedIdentity. This is needed for CBOs, since
messages need to be dispatched using the proxy as "this", not the
real object.
svn path=/trunk/mcs/; revision=34251
* RemotingServices.cs: use MethodBase rather than looking
for the method ourselves. It has higher perf in x-ad calls.
svn path=/trunk/mcs/; revision=33764
* RemotingServices.cs (IsMethodOverloaded): use the internal
method GetMethodsByName. It does much less work than GetMembers.
svn path=/trunk/mcs/; revision=33374
the object, so it can be safely marshalled again.
* RemotingServices.cs: Fixed IsObjectOutOfContext and
IsObjectOutOfAppDomain. In SetObjectUriForMarshal, take into account
contextful objects.
svn path=/trunk/mcs/; revision=30670