[reflection] Use MonoError in mono_custom_attrs_from_{index, method} instead of loade...
authorAleksey Kliger <aleksey@xamarin.com>
Thu, 25 Feb 2016 19:14:25 +0000 (14:14 -0500)
committerAleksey Kliger <aleksey@xamarin.com>
Mon, 29 Feb 2016 16:09:24 +0000 (11:09 -0500)
commitaa0abb806790f7fcc44606a83586912e93c5784e
treed03de828f3381041a8d54d89ab1d05832a55eaa4
parentcae295aca42205d393ee40677394a20be6da08bd
[reflection] Use MonoError in mono_custom_attrs_from_{index, method} instead of loader error.

Also mark both as external only.  Runtime should use
mono_custom_attrs_from_index_checked and mono_custom_attrs_from_method_checked.
mono/metadata/cominterop.c
mono/metadata/object.c
mono/metadata/reflection-internals.h
mono/metadata/reflection.c
mono/metadata/reflection.h
mono/mini/aot-compiler.c
mono/mini/debugger-agent.c
mono/mini/mini-generic-sharing.c