I have a very basic interface for several services. Doing something like:
private static void Test(IService svc)
{
var test = svc.GetType();
}
while passing in an instance of a remote service that inherits from IService causes the RealProxy Invoke method to be fired.
Why?
As pointed out by stuartd this is expected behavior.