* icall.c (ves_icall_System_Reflection_Assembly_InternalGetType):
Under the 2.0 profile raise the loader error.
Fixes #508532.
svn path=/trunk/mono/; revision=135159
+2009-06-01 Rodrigo Kumpera <rkumpera@novell.com>
+
+ * icall.c (ves_icall_System_Reflection_Assembly_InternalGetType):
+ Under the 2.0 profile raise the loader error.
+
+ Fixes #508532.
+
2009-06-01 Rodrigo Kumpera <rkumpera@novell.com>
* marshal.c (mono_marshal_get_runtime_invoke): Emit the right kind
if (throwOnError)
e = mono_get_exception_type_load (name, NULL);
+ if (mono_loader_get_last_error () && mono_defaults.generic_ilist_class)
+ e = mono_loader_error_prepare_exception (mono_loader_get_last_error ());
+
mono_loader_clear_error ();
if (e != NULL)