From: Robert Jordan Date: Fri, 5 Mar 2010 13:23:44 +0000 (-0000) Subject: 2010-03-05 Robert Jordan X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=f4a346fd94e46447e52a0a6b281e035676c41f70;p=mono.git 2010-03-05 Robert Jordan * remoting4.cs: Add test for bug #504886. svn path=/trunk/mono/; revision=153106 --- diff --git a/mono/tests/ChangeLog b/mono/tests/ChangeLog index 3dd6f6b8c33..d425c055833 100644 --- a/mono/tests/ChangeLog +++ b/mono/tests/ChangeLog @@ -1,3 +1,7 @@ +2010-03-05 Robert Jordan + + * remoting4.cs: Add test for bug #504886. + 2010-03-03 Rodrigo Kumpera * bug-562150.cs: Regression test. diff --git a/mono/tests/remoting4.cs b/mono/tests/remoting4.cs index 0f11151b175..844fde973ea 100644 --- a/mono/tests/remoting4.cs +++ b/mono/tests/remoting4.cs @@ -171,6 +171,11 @@ namespace RemotingTest return 5; if (iface.Foo () != null) return 6; + + // Test type identity (#504886, comment #10 ff.) + + if (typeof (R1) != myobj.GetType ()) + return 7; Console.WriteLine("test-ok"); return 0;