+ return 9;
+
+ RemoteDelegate1 d1 = new RemoteDelegate1 (o.Add);
+ MyStruct myres2 = d1 (2, out res, 3);
+
+ Console.WriteLine ("Result: " + myres2.a + " " +
+ myres2.b + " " + myres2.c + " " + res);
+
+ if (myres2.a != 2)
+ return 10;
+
+ if (myres2.b != 3)
+ return 11;
+
+ if (myres2.c != 5)
+ return 12;
+
+ if (res != 5)
+ return 13;
+
+ RemoteDelegate2 d2 = new RemoteDelegate2 (o.nonvirtual_Add);
+ d2 (6, 7);
+
+ if (!(real_proxy.GetTransparentProxy () is R2))
+ return 14;
+
+ /* Test what happens if the proxy doesn't return the required information */
+ EmptyProxy handler = new EmptyProxy ( typeof (R3) );
+ R3 o3 = (R3)handler.GetTransparentProxy();
+
+ if (o3.anObject != null)
+ return 15;
+
+ if (o.null_test_field != null)
+ return 16;