[reflection] Remove last uses of mono_raise_exception
authorAleksey Kliger <aleksey@xamarin.com>
Tue, 22 Mar 2016 20:51:48 +0000 (16:51 -0400)
committerAleksey Kliger <aleksey@xamarin.com>
Thu, 7 Apr 2016 17:30:23 +0000 (13:30 -0400)
commit61fefd64cc650de94b43975b1374e0c8af77e24f
tree9f4247596863a51b925a0ea5776ca3e5fbae9cbd
parent05e70d71f32165a84cb3e4fdfb95b4ff3c68a06f
[reflection] Remove last uses of mono_raise_exception

1. static function `create_custom_attr` (set MonoError exception instance)
2. icall `mono_reflection_resolve_custom_attribute_data` (set pending
exception from MonoError). Also rename it to
ves_icall_System_Reflection_CustomAttributeData_ResolveArgumentsInternal
3. icall `mono_reflection_bind_generic_method_parameters` (set pending
exception from MonoError)  Not renaming this one because it's actually
used for two icalls:
System.Reflection.Emit.MethodBuilder.MakeGenericMethod and System.Reflection.MonoMethod.MakeGenericMethod_impl
mono/metadata/icall-def.h
mono/metadata/object-internals.h
mono/metadata/reflection.c