2007-01-01 Miguel de Icaza <miguel@novell.com>
commit0f66558cdabd8c95c3e33329a3372f997e5960bc
authorMiguel de Icaza <miguel@gnome.org>
Tue, 2 Jan 2007 02:02:29 +0000 (2 02:02 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Tue, 2 Jan 2007 02:02:29 +0000 (2 02:02 -0000)
tree07b2925190d5ce00f36b81729851c531a50db4c8
parent4be10f1d44417bb29f5c5e8514eef2d4a38376f2
2007-01-01  Miguel de Icaza  <miguel@novell.com>

* icall.c (ves_icall_System_Reflection_Assembly_InternalGetType):
Clear the error before returning to unmanaged code to prevent the
runtime from being confused later on (fixes  80420).
(ves_icall_type_from_name): Always call mono_loader_clear_error
after parsing a type that could have failed.
(ves_icall_System_Reflection_Assembly_GetTypes): ditto.

* loader.c (mono_loader_clear_error): Fix indentation.

svn path=/trunk/mono/; revision=70330
mono/metadata/ChangeLog
mono/metadata/icall.c
mono/metadata/loader.c