Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mono/tests/bug-544446.cs')
-rw-r--r--mono/tests/bug-544446.cs41
1 files changed, 0 insertions, 41 deletions
diff --git a/mono/tests/bug-544446.cs b/mono/tests/bug-544446.cs
deleted file mode 100644
index 80b8fe48ea8..00000000000
--- a/mono/tests/bug-544446.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-using System;
-using System.Runtime.Remoting;
-using System.Runtime.Remoting.Messaging;
-using System.Runtime.Remoting.Proxies;
-using System.Collections.Generic;
-
-class MyProxy : RealProxy {
- readonly MarshalByRefObject target;
-
- public MyProxy (MarshalByRefObject target) : base (target.GetType())
- {
- this.target = target;
- }
-
- public override IMessage Invoke (IMessage request) {
- IMethodCallMessage call = (IMethodCallMessage)request;
- return RemotingServices.ExecuteMessage (target, call);
- }
-}
-
-class R1 : MarshalByRefObject {
-
- public void foo (out Dictionary<string, int> paramAssignmentStatus) {
-
- paramAssignmentStatus = new Dictionary<string, int> ();
- paramAssignmentStatus.Add ("One", 1);
- }
-}
-
-class Test {
- static int Main () {
- MyProxy real_proxy = new MyProxy (new R1 ());
- R1 o = (R1)real_proxy.GetTransparentProxy ();
-
- Dictionary<string, int> i;
- o.foo (out i);
- if (1 == i["One"])
- return 0;
- return 1;
- }
-}