[runtime] Use coop handles for the remaining System.Reflection.Assembly icalls (...
authorAleksey Kliger (λgeek) <akliger@gmail.com>
Mon, 5 Dec 2016 15:24:10 +0000 (10:24 -0500)
committerGitHub <noreply@github.com>
Mon, 5 Dec 2016 15:24:10 +0000 (10:24 -0500)
commit15aca909f35ac53fea5f9f83c5fad40c3e07742b
treef1039402fcba052627aeb1b5bd01d0adcadcd3d0
parent786dea24feb3059b0998a1bc7a035df540bb3be3
[runtime] Use coop handles for the remaining System.Reflection.Assembly icalls (#4082)

* [reflection] Use handles for System.Reflection.Assembly.GetFilesInternal

* [reflection] Use handles for System.Reflection.Assembly.InternalGetType

* [reflection] Use handles for System.Reflection.Assembly.GetManifestResourceNames

* [reflection] Use handles for System.Reflection.Assembly.LoadPermissions

* [reflection] Add mono_method_get_object_handle

  Reimplement mono_method_get_object_checked in terms of the handles one.

* [reflection] Use handles for System.Reflection.Assembly.get_EntryPoint

* [reflection] Use handles for four more icalls in System.Refleciton.Assembly

  That's the lot of them.

    * get_ReflecitonOnly
    * get_code_base
    * get_fullname

* get_global_assembly_cache

* [security] Use handles for System.Security.Policy.Evidence.IsAuthenticodePresent

* [runtime] Use handles for System.Web.Util.Icalls.GetUnmanagedResourcesPtr

* [runtime] Use MONO_HANDLE_GETVAL instead of MONO_HANDLE_RAW in a few places

* [runtime] Use handles for System.AppDomain.ExecuteAssembly
mono/metadata/appdomain-icalls.h
mono/metadata/appdomain.c
mono/metadata/icall-def.h
mono/metadata/icall.c
mono/metadata/mono-security.c
mono/metadata/object-internals.h
mono/metadata/reflection-internals.h
mono/metadata/reflection.c
mono/metadata/security.h