2005-07-01 Lluis Sanchez <lluis@ximian.com>
authorLluis Sanchez <lluis@novell.com>
Fri, 1 Jul 2005 18:50:13 +0000 (18:50 -0000)
committerLluis Sanchez <lluis@novell.com>
Fri, 1 Jul 2005 18:50:13 +0000 (18:50 -0000)
* icall.c: In ves_icall_InternalExecute() dont't assert if the value
returned by a field getter is null, since null is a valid value.

svn path=/trunk/mono/; revision=46854

mono/metadata/ChangeLog
mono/metadata/icall.c

index 647323c8fa3f5e770b9f2115a074898bba673d1e..99a58dd0193723134f870341dfa9f470c0d50651 100644 (file)
@@ -1,3 +1,8 @@
+2005-07-01  Lluis Sanchez  <lluis@ximian.com>
+
+       * icall.c: In ves_icall_InternalExecute() dont't assert if the value
+       returned by a field getter is null, since null is a valid value.
+
 2005-07-01  Martin Baulig  <martin@ximian.com>
 
        * loader.c (find_method): Also look in the interfaces; fixes #75429.
index 6d5b65b8c521ed098c2753ead960d26654cdc001..a1bc29a27b2bed87ffa47cf980555d2612205330 100644 (file)
@@ -2563,7 +2563,6 @@ ves_icall_InternalExecute (MonoReflectionMethod *method, MonoObject *this, MonoA
                                        else 
                                                result = *((gpointer *)((char *)this + field->offset));
                                
-                                       g_assert (result);
                                        out_args = mono_array_new (domain, mono_defaults.object_class, 1);
                                        *outArgs = out_args;
                                        mono_array_set (out_args, gpointer, 0, result);