2 * Appdomain-related icalls.
3 * Copyright 2016 Microsoft
4 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
7 #ifndef __MONO_METADATA_APPDOMAIN_ICALLS_H__
8 #define __MONO_METADATA_APPDOMAIN_ICALLS_H__
10 #include <mono/metadata/appdomain.h>
11 #include <mono/metadata/handle.h>
12 #include <mono/metadata/object-internals.h>
15 ves_icall_System_AppDomain_getCurDomain (void);
18 ves_icall_System_AppDomain_getRootDomain (void);
21 ves_icall_System_AppDomain_createDomain (MonoString *friendly_name,
22 MonoAppDomainSetup *setup);
25 ves_icall_System_AppDomain_GetData (MonoAppDomain *ad,
28 MonoReflectionAssemblyHandle
29 ves_icall_System_AppDomain_LoadAssemblyRaw (MonoAppDomainHandle ad,
30 MonoArrayHandle raw_assembly,
31 MonoArrayHandle raw_symbol_store,
32 MonoObjectHandle evidence,
37 ves_icall_System_AppDomain_SetData (MonoAppDomain *ad,
42 ves_icall_System_AppDomain_getSetup (MonoAppDomain *ad);
45 ves_icall_System_AppDomain_getFriendlyName (MonoAppDomain *ad);
48 ves_icall_System_AppDomain_GetAssemblies (MonoAppDomainHandle ad,
52 MonoReflectionAssemblyHandle
53 ves_icall_System_Reflection_Assembly_LoadFrom (MonoStringHandle fname,
57 MonoReflectionAssemblyHandle
58 ves_icall_System_AppDomain_LoadAssembly (MonoAppDomainHandle ad,
59 MonoStringHandle assRef,
60 MonoObjectHandle evidence,
65 ves_icall_System_AppDomain_InternalIsFinalizingForUnload (gint32 domain_id);
68 ves_icall_System_AppDomain_InternalUnload (gint32 domain_id);
71 ves_icall_System_AppDomain_DoUnhandledException (MonoException *exc);
74 ves_icall_System_AppDomain_ExecuteAssembly (MonoAppDomainHandle ad,
75 MonoReflectionAssemblyHandle refass,
80 ves_icall_System_AppDomain_InternalSetDomain (MonoAppDomain *ad);
83 ves_icall_System_AppDomain_InternalSetDomainByID (gint32 domainid);
86 ves_icall_System_AppDomain_InternalPushDomainRef (MonoAppDomain *ad);
89 ves_icall_System_AppDomain_InternalPushDomainRefByID (gint32 domain_id);
92 ves_icall_System_AppDomain_InternalPopDomainRef (void);
95 ves_icall_System_AppDomain_InternalGetContext (void);
98 ves_icall_System_AppDomain_InternalGetDefaultContext (void);
101 ves_icall_System_AppDomain_InternalSetContext (MonoAppContext *mc);
104 ves_icall_System_AppDomain_GetIDFromDomain (MonoAppDomain * ad);
107 ves_icall_System_AppDomain_InternalGetProcessGuid (MonoString* newguid);
110 ves_icall_System_CLRConfig_CheckThrowUnobservedTaskExceptions (void);
113 #endif /*__MONO_METADATA_APPDOMAIN_ICALLS_H__*/