From 0bd3e7dc40c7132c91680a0a2c2ba5c4a7481934 Mon Sep 17 00:00:00 2001 From: Lluis Sanchez Date: Fri, 1 Jul 2005 18:52:17 +0000 Subject: [PATCH] 2005-07-01 Lluis Sanchez Gual * remoting1.cs: Test for getting a remote field value which is null. svn path=/trunk/mono/; revision=46855 --- mono/tests/ChangeLog | 4 ++++ mono/tests/remoting1.cs | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/mono/tests/ChangeLog b/mono/tests/ChangeLog index a9b2910ca98..96004fb9021 100644 --- a/mono/tests/ChangeLog +++ b/mono/tests/ChangeLog @@ -1,3 +1,7 @@ +2005-07-01 Lluis Sanchez Gual + + * remoting1.cs: Test for getting a remote field value which is null. + 2005-07-01 Raja R Harinath * Makefile.am (check-local): Call semdel-wrapper. diff --git a/mono/tests/remoting1.cs b/mono/tests/remoting1.cs index 03dfbb0fa70..ce9589469e1 100644 --- a/mono/tests/remoting1.cs +++ b/mono/tests/remoting1.cs @@ -84,6 +84,7 @@ interface R2 { class R1 : MarshalByRefObject, R2 { public int test_field = 5; + public object null_test_field; public virtual MyStruct Add (int a, out int c, int b) { Console.WriteLine ("ADD"); @@ -204,6 +205,9 @@ class Test { if (o3.anObject != null) return 15; + if (o.null_test_field != null) + return 16; + return 0; } } -- 2.25.1