* icall.c: applied fix from Zoltan Varga that fixes Type.IsPrimitive
for reference types.
svn path=/trunk/mono/; revision=10299
+2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * icall.c: applied fix from Zoltan Varga that fixes Type.IsPrimitive
+ for reference types.
+
Wed Jan 8 20:11:46 CET 2003 Paolo Molaro <lupus@ximian.com>
* loader.c: fixed off by one error in loaded parameter names.
else
info->etype = NULL;
- info->isprimitive = (type->type >= MONO_TYPE_BOOLEAN) && (type->type <= MONO_TYPE_R8);
+ info->isprimitive = (!type->byref && (type->type >= MONO_TYPE_BOOLEAN) && (type->type <= MONO_TYPE_R8));
}
static MonoObject *