* reflection.c (inflate_mono_method): Reuse method instantiation
[mono.git] / mono / metadata / icall-def.h
1 /*
2  * This file contains the default set of the mono internal calls.
3  * Each type that ahs internal call methods must be declared here
4  * with the ICALL_TYPE macro as follows:
5  *
6  *      ICALL_TYPE(typeid, typename, first_icall_id)
7  *
8  * typeid must be a C symbol name unique to the type, don't worry about namespace
9  *      pollution, since it will be automatically prefixed to avoid it.
10  * typename is a C string containing the full name of the type
11  * first_icall_id s the symbol ID of the first internal call of the declared
12  *      type (see below)
13  *
14  * The list of internal calls of the methods of a type must follow the
15  * type declaration. Each internal call is defined by the following macro:
16  *
17  *      ICALL(icallid, methodname, cfuncptr)
18  *
19  * icallid must be a C symbol, unique for each icall defined in this file and
20  * tipically equal to the typeid + '_' + a sequential number.
21  * methodname is a C string defining the method name and the optional signature
22  * (the signature is required only when several internal calls in the type
23  * have the same name)
24  * cfuncptr is the C function that implements the internal call. Note that this
25  * file is included at the end of metadata/icall.c, so the C function must be
26  * visible to the compiler there.
27  *
28  * *** Adding a new internal call ***
29  * Remember that ICALL_TYPE declarations must be kept sorted wrt each other
30  * ICALL_TYPE declaration. The same happens for ICALL declarations, but only
31  * limited to the icall list of each type. The sorting is based on the type or
32  * method name.
33  * When adding a new icall, make sure it is inserted correctly in the list and
34  * that it defines a unique ID. ID are currently numbered and ordered, but if
35  * you need to insert a method in the middle, don't bother renaming all the symbols.
36  * Remember to change also the first_icall_id argument in the ICALL_TYPE 
37  * declaration if you add a new icall at the beginning of a type's icall list.
38  */
39 ICALL_TYPE(UNORM, "Mono.Globalization.Unicode.Normalization", UNORM_1)
40 ICALL(UNORM_1, "load_normalization_resource", load_normalization_resource)
41
42 ICALL_TYPE(RUNTIME, "Mono.Runtime", RUNTIME_1)
43 ICALL(RUNTIME_1, "GetDisplayName", ves_icall_Mono_Runtime_GetDisplayName)
44
45 ICALL_TYPE(KPAIR, "Mono.Security.Cryptography.KeyPairPersistence", KPAIR_1)
46 ICALL(KPAIR_1, "_CanSecure", ves_icall_Mono_Security_Cryptography_KeyPairPersistence_CanSecure)
47 ICALL(KPAIR_2, "_IsMachineProtected", ves_icall_Mono_Security_Cryptography_KeyPairPersistence_IsMachineProtected)
48 ICALL(KPAIR_3, "_IsUserProtected", ves_icall_Mono_Security_Cryptography_KeyPairPersistence_IsUserProtected)
49 ICALL(KPAIR_4, "_ProtectMachine", ves_icall_Mono_Security_Cryptography_KeyPairPersistence_ProtectMachine)
50 ICALL(KPAIR_5, "_ProtectUser", ves_icall_Mono_Security_Cryptography_KeyPairPersistence_ProtectUser)
51
52 ICALL_TYPE(ACTIV, "System.Activator", ACTIV_1)
53 ICALL(ACTIV_1, "CreateInstanceInternal", ves_icall_System_Activator_CreateInstanceInternal)
54
55 ICALL_TYPE(APPDOM, "System.AppDomain", APPDOM_1)
56 ICALL(APPDOM_1, "ExecuteAssembly", ves_icall_System_AppDomain_ExecuteAssembly)
57 ICALL(APPDOM_2, "GetAssemblies", ves_icall_System_AppDomain_GetAssemblies)
58 ICALL(APPDOM_3, "GetData", ves_icall_System_AppDomain_GetData)
59 ICALL(APPDOM_4, "InternalGetContext", ves_icall_System_AppDomain_InternalGetContext)
60 ICALL(APPDOM_5, "InternalGetDefaultContext", ves_icall_System_AppDomain_InternalGetDefaultContext)
61 ICALL(APPDOM_6, "InternalGetProcessGuid", ves_icall_System_AppDomain_InternalGetProcessGuid)
62 ICALL(APPDOM_7, "InternalIsFinalizingForUnload", ves_icall_System_AppDomain_InternalIsFinalizingForUnload)
63 ICALL(APPDOM_8, "InternalPopDomainRef", ves_icall_System_AppDomain_InternalPopDomainRef)
64 ICALL(APPDOM_9, "InternalPushDomainRef", ves_icall_System_AppDomain_InternalPushDomainRef)
65 ICALL(APPDOM_10, "InternalPushDomainRefByID", ves_icall_System_AppDomain_InternalPushDomainRefByID)
66 ICALL(APPDOM_11, "InternalSetContext", ves_icall_System_AppDomain_InternalSetContext)
67 ICALL(APPDOM_12, "InternalSetDomain", ves_icall_System_AppDomain_InternalSetDomain)
68 ICALL(APPDOM_13, "InternalSetDomainByID", ves_icall_System_AppDomain_InternalSetDomainByID)
69 ICALL(APPDOM_14, "InternalUnload", ves_icall_System_AppDomain_InternalUnload)
70 ICALL(APPDOM_15, "LoadAssembly", ves_icall_System_AppDomain_LoadAssembly)
71 ICALL(APPDOM_16, "LoadAssemblyRaw", ves_icall_System_AppDomain_LoadAssemblyRaw)
72 ICALL(APPDOM_17, "SetData", ves_icall_System_AppDomain_SetData)
73 ICALL(APPDOM_18, "createDomain", ves_icall_System_AppDomain_createDomain)
74 ICALL(APPDOM_19, "getCurDomain", ves_icall_System_AppDomain_getCurDomain)
75 ICALL(APPDOM_20, "getFriendlyName", ves_icall_System_AppDomain_getFriendlyName)
76 ICALL(APPDOM_21, "getRootDomain", ves_icall_System_AppDomain_getRootDomain)
77 ICALL(APPDOM_22, "getSetup", ves_icall_System_AppDomain_getSetup)
78
79 ICALL_TYPE(ARGI, "System.ArgIterator", ARGI_1)
80 ICALL(ARGI_1, "IntGetNextArg()",                  mono_ArgIterator_IntGetNextArg)
81 ICALL(ARGI_2, "IntGetNextArg(intptr)", mono_ArgIterator_IntGetNextArgT)
82 ICALL(ARGI_3, "IntGetNextArgType",                mono_ArgIterator_IntGetNextArgType)
83 ICALL(ARGI_4, "Setup",                            mono_ArgIterator_Setup)
84
85 ICALL_TYPE(ARRAY, "System.Array", ARRAY_1)
86 ICALL(ARRAY_1, "ClearInternal",    ves_icall_System_Array_ClearInternal)
87 ICALL(ARRAY_2, "Clone",            mono_array_clone)
88 ICALL(ARRAY_3, "CreateInstanceImpl",   ves_icall_System_Array_CreateInstanceImpl)
89 ICALL(ARRAY_4, "FastCopy",         ves_icall_System_Array_FastCopy)
90 ICALL(ARRAY_5, "GetGenericValueImpl", ves_icall_System_Array_GetGenericValueImpl)
91 ICALL(ARRAY_6, "GetLength",        ves_icall_System_Array_GetLength)
92 ICALL(ARRAY_7, "GetLowerBound",    ves_icall_System_Array_GetLowerBound)
93 ICALL(ARRAY_8, "GetRank",          ves_icall_System_Array_GetRank)
94 ICALL(ARRAY_9, "GetValue",         ves_icall_System_Array_GetValue)
95 ICALL(ARRAY_10, "GetValueImpl",     ves_icall_System_Array_GetValueImpl)
96 ICALL(ARRAY_11, "SetValue",         ves_icall_System_Array_SetValue)
97 ICALL(ARRAY_12, "SetValueImpl",     ves_icall_System_Array_SetValueImpl)
98
99 ICALL_TYPE(BUFFER, "System.Buffer", BUFFER_1)
100 ICALL(BUFFER_1, "BlockCopyInternal", ves_icall_System_Buffer_BlockCopyInternal)
101 ICALL(BUFFER_2, "ByteLengthInternal", ves_icall_System_Buffer_ByteLengthInternal)
102 ICALL(BUFFER_3, "GetByteInternal", ves_icall_System_Buffer_GetByteInternal)
103 ICALL(BUFFER_4, "SetByteInternal", ves_icall_System_Buffer_SetByteInternal)
104
105 ICALL_TYPE(CHAR, "System.Char", CHAR_1)
106 ICALL(CHAR_1, "GetDataTablePointers", ves_icall_System_Char_GetDataTablePointers)
107
108 ICALL_TYPE(DEFAULTC, "System.Configuration.DefaultConfig", DEFAULTC_1)
109 ICALL(DEFAULTC_1, "get_bundled_machine_config", ves_icall_System_Configuration_DefaultConfig_get_bundled_machine_config)
110 ICALL(DEFAULTC_2, "get_machine_config_path", ves_icall_System_Configuration_DefaultConfig_get_machine_config_path)
111
112 ICALL_TYPE(CONSOLE, "System.ConsoleDriver", CONSOLE_1)
113 ICALL(CONSOLE_1, "GetTtySize", ves_icall_System_ConsoleDriver_GetTtySize )
114 ICALL(CONSOLE_2, "InternalKeyAvailable", ves_icall_System_ConsoleDriver_InternalKeyAvailable )
115 ICALL(CONSOLE_3, "Isatty", ves_icall_System_ConsoleDriver_Isatty )
116 ICALL(CONSOLE_4, "SetBreak", ves_icall_System_ConsoleDriver_SetBreak )
117 ICALL(CONSOLE_5, "SetEcho", ves_icall_System_ConsoleDriver_SetEcho )
118 ICALL(CONSOLE_6, "TtySetup", ves_icall_System_ConsoleDriver_TtySetup )
119
120 ICALL_TYPE(CONVERT, "System.Convert", CONVERT_1)
121 ICALL(CONVERT_1, "InternalFromBase64CharArray", InternalFromBase64CharArray )
122 ICALL(CONVERT_2, "InternalFromBase64String", InternalFromBase64String )
123
124 ICALL_TYPE(TZONE, "System.CurrentSystemTimeZone", TZONE_1)
125 ICALL(TZONE_1, "GetTimeZoneData", ves_icall_System_CurrentSystemTimeZone_GetTimeZoneData)
126
127 ICALL_TYPE(DTIME, "System.DateTime", DTIME_1)
128 ICALL(DTIME_1, "GetNow", ves_icall_System_DateTime_GetNow)
129
130 #ifndef DISABLE_DECIMAL
131 ICALL_TYPE(DECIMAL, "System.Decimal", DECIMAL_1)
132 ICALL(DECIMAL_1, "decimal2Int64", mono_decimal2Int64)
133 ICALL(DECIMAL_2, "decimal2UInt64", mono_decimal2UInt64)
134 ICALL(DECIMAL_3, "decimal2double", mono_decimal2double)
135 ICALL(DECIMAL_4, "decimal2string", mono_decimal2string)
136 ICALL(DECIMAL_5, "decimalCompare", mono_decimalCompare)
137 ICALL(DECIMAL_6, "decimalDiv", mono_decimalDiv)
138 ICALL(DECIMAL_7, "decimalFloorAndTrunc", mono_decimalFloorAndTrunc)
139 ICALL(DECIMAL_8, "decimalIncr", mono_decimalIncr)
140 ICALL(DECIMAL_9, "decimalIntDiv", mono_decimalIntDiv)
141 ICALL(DECIMAL_10, "decimalMult", mono_decimalMult)
142 ICALL(DECIMAL_11, "decimalRound", mono_decimalRound)
143 ICALL(DECIMAL_12, "decimalSetExponent", mono_decimalSetExponent)
144 ICALL(DECIMAL_13, "double2decimal", mono_double2decimal) /* FIXME: wrong signature. */
145 ICALL(DECIMAL_14, "string2decimal", mono_string2decimal)
146 #endif
147
148 ICALL_TYPE(DELEGATE, "System.Delegate", DELEGATE_1)
149 ICALL(DELEGATE_1, "CreateDelegate_internal", ves_icall_System_Delegate_CreateDelegate_internal)
150
151 ICALL_TYPE(TRACEL, "System.Diagnostics.DefaultTraceListener", TRACEL_1)
152 ICALL(TRACEL_1, "WriteWindowsDebugString", ves_icall_System_Diagnostics_DefaultTraceListener_WriteWindowsDebugString)
153
154 ICALL_TYPE(FILEV, "System.Diagnostics.FileVersionInfo", FILEV_1)
155 ICALL(FILEV_1, "GetVersionInfo_internal(string)", ves_icall_System_Diagnostics_FileVersionInfo_GetVersionInfo_internal)
156
157 ICALL_TYPE(PROCESS, "System.Diagnostics.Process", PROCESS_1)
158 ICALL(PROCESS_1, "CreateProcess_internal(System.Diagnostics.ProcessStartInfo,intptr,intptr,intptr,System.Diagnostics.Process/ProcInfo&)", ves_icall_System_Diagnostics_Process_CreateProcess_internal)
159 ICALL(PROCESS_2, "ExitCode_internal(intptr)", ves_icall_System_Diagnostics_Process_ExitCode_internal)
160 ICALL(PROCESS_3, "ExitTime_internal(intptr)", ves_icall_System_Diagnostics_Process_ExitTime_internal)
161 ICALL(PROCESS_4, "GetModules_internal()", ves_icall_System_Diagnostics_Process_GetModules_internal)
162 ICALL(PROCESS_5, "GetPid_internal()", ves_icall_System_Diagnostics_Process_GetPid_internal)
163 ICALL(PROCESS_6, "GetProcess_internal(int)", ves_icall_System_Diagnostics_Process_GetProcess_internal)
164 ICALL(PROCESS_7, "GetProcesses_internal()", ves_icall_System_Diagnostics_Process_GetProcesses_internal)
165 ICALL(PROCESS_8, "GetWorkingSet_internal(intptr,int&,int&)", ves_icall_System_Diagnostics_Process_GetWorkingSet_internal)
166 ICALL(PROCESS_9, "Kill_internal", ves_icall_System_Diagnostics_Process_Kill_internal)
167 ICALL(PROCESS_10, "ProcessName_internal(intptr)", ves_icall_System_Diagnostics_Process_ProcessName_internal)
168 ICALL(PROCESS_11, "Process_free_internal(intptr)", ves_icall_System_Diagnostics_Process_Process_free_internal)
169 ICALL(PROCESS_12, "SetWorkingSet_internal(intptr,int,int,bool)", ves_icall_System_Diagnostics_Process_SetWorkingSet_internal)
170 ICALL(PROCESS_13, "ShellExecuteEx_internal(System.Diagnostics.ProcessStartInfo,System.Diagnostics.Process/ProcInfo&)", ves_icall_System_Diagnostics_Process_ShellExecuteEx_internal)
171 ICALL(PROCESS_14, "StartTime_internal(intptr)", ves_icall_System_Diagnostics_Process_StartTime_internal)
172 ICALL(PROCESS_15, "WaitForExit_internal(intptr,int)", ves_icall_System_Diagnostics_Process_WaitForExit_internal)
173
174 ICALL_TYPE(DOUBLE, "System.Double", DOUBLE_1)
175 ICALL(DOUBLE_1, "ParseImpl",    mono_double_ParseImpl)
176
177 ICALL_TYPE(ENUM, "System.Enum", ENUM_1)
178 ICALL(ENUM_1, "ToObject", ves_icall_System_Enum_ToObject)
179 ICALL(ENUM_2, "get_value", ves_icall_System_Enum_get_value)
180
181 ICALL_TYPE(ENV, "System.Environment", ENV_1)
182 ICALL(ENV_1, "Exit", ves_icall_System_Environment_Exit)
183 ICALL(ENV_2, "GetCommandLineArgs", mono_runtime_get_main_args)
184 ICALL(ENV_3, "GetEnvironmentVariableNames", ves_icall_System_Environment_GetEnvironmentVariableNames)
185 ICALL(ENV_4, "GetLogicalDrivesInternal", ves_icall_System_Environment_GetLogicalDrives )
186 ICALL(ENV_5, "GetMachineConfigPath", ves_icall_System_Configuration_DefaultConfig_get_machine_config_path)
187 ICALL(ENV_6, "GetOSVersionString", ves_icall_System_Environment_GetOSVersionString)
188 ICALL(ENV_7, "GetWindowsFolderPath", ves_icall_System_Environment_GetWindowsFolderPath)
189 ICALL(ENV_8, "InternalSetEnvironmentVariable", ves_icall_System_Environment_InternalSetEnvironmentVariable)
190 ICALL(ENV_9, "get_ExitCode", mono_environment_exitcode_get)
191 ICALL(ENV_10, "get_HasShutdownStarted", ves_icall_System_Environment_get_HasShutdownStarted)
192 ICALL(ENV_11, "get_MachineName", ves_icall_System_Environment_get_MachineName)
193 ICALL(ENV_12, "get_NewLine", ves_icall_System_Environment_get_NewLine)
194 ICALL(ENV_13, "get_Platform", ves_icall_System_Environment_get_Platform)
195 ICALL(ENV_14, "get_ProcessorCount", ves_icall_System_Environment_get_ProcessorCount)
196 ICALL(ENV_15, "get_TickCount", ves_icall_System_Environment_get_TickCount)
197 ICALL(ENV_16, "get_UserName", ves_icall_System_Environment_get_UserName)
198 ICALL(ENV_17, "internalGetEnvironmentVariable", ves_icall_System_Environment_GetEnvironmentVariable)
199 ICALL(ENV_18, "internalGetGacPath", ves_icall_System_Environment_GetGacPath)
200 ICALL(ENV_19, "internalGetHome", ves_icall_System_Environment_InternalGetHome)
201 ICALL(ENV_20, "set_ExitCode", mono_environment_exitcode_set)
202
203 ICALL_TYPE(GC, "System.GC", GC_0)
204 ICALL(GC_0, "CollectionCount", mono_gc_collection_count)
205 ICALL(GC_0a, "GetGeneration", mono_gc_get_generation)
206 ICALL(GC_1, "GetTotalMemory", ves_icall_System_GC_GetTotalMemory)
207 ICALL(GC_2, "InternalCollect", ves_icall_System_GC_InternalCollect)
208 ICALL(GC_3, "KeepAlive", ves_icall_System_GC_KeepAlive)
209 ICALL(GC_4, "ReRegisterForFinalize", ves_icall_System_GC_ReRegisterForFinalize)
210 ICALL(GC_4a, "RecordPressure", mono_gc_add_memory_pressure)
211 ICALL(GC_5, "SuppressFinalize", ves_icall_System_GC_SuppressFinalize)
212 ICALL(GC_6, "WaitForPendingFinalizers", ves_icall_System_GC_WaitForPendingFinalizers)
213 ICALL(GC_7, "get_MaxGeneration", mono_gc_max_generation)
214
215 ICALL_TYPE(COMPINF, "System.Globalization.CompareInfo", COMPINF_1)
216 ICALL(COMPINF_1, "assign_sortkey(object,string,System.Globalization.CompareOptions)", ves_icall_System_Globalization_CompareInfo_assign_sortkey)
217 ICALL(COMPINF_2, "construct_compareinfo(string)", ves_icall_System_Globalization_CompareInfo_construct_compareinfo)
218 ICALL(COMPINF_3, "free_internal_collator()", ves_icall_System_Globalization_CompareInfo_free_internal_collator)
219 ICALL(COMPINF_4, "internal_compare(string,int,int,string,int,int,System.Globalization.CompareOptions)", ves_icall_System_Globalization_CompareInfo_internal_compare)
220 ICALL(COMPINF_5, "internal_index(string,int,int,char,System.Globalization.CompareOptions,bool)", ves_icall_System_Globalization_CompareInfo_internal_index_char)
221 ICALL(COMPINF_6, "internal_index(string,int,int,string,System.Globalization.CompareOptions,bool)", ves_icall_System_Globalization_CompareInfo_internal_index)
222
223 ICALL_TYPE(CULINF, "System.Globalization.CultureInfo", CULINF_2)
224 ICALL(CULINF_2, "construct_datetime_format", ves_icall_System_Globalization_CultureInfo_construct_datetime_format)
225 ICALL(CULINF_4, "construct_internal_locale_from_current_locale", ves_icall_System_Globalization_CultureInfo_construct_internal_locale_from_current_locale)
226 ICALL(CULINF_5, "construct_internal_locale_from_lcid", ves_icall_System_Globalization_CultureInfo_construct_internal_locale_from_lcid)
227 ICALL(CULINF_6, "construct_internal_locale_from_name", ves_icall_System_Globalization_CultureInfo_construct_internal_locale_from_name)
228 ICALL(CULINF_7, "construct_internal_locale_from_specific_name", ves_icall_System_Globalization_CultureInfo_construct_internal_locale_from_specific_name)
229 ICALL(CULINF_8, "construct_number_format", ves_icall_System_Globalization_CultureInfo_construct_number_format)
230 ICALL(CULINF_9, "internal_get_cultures", ves_icall_System_Globalization_CultureInfo_internal_get_cultures)
231 ICALL(CULINF_10, "internal_is_lcid_neutral", ves_icall_System_Globalization_CultureInfo_internal_is_lcid_neutral)
232
233 ICALL_TYPE(REGINF, "System.Globalization.RegionInfo", REGINF_1)
234 ICALL(REGINF_1, "construct_internal_region_from_lcid", ves_icall_System_Globalization_RegionInfo_construct_internal_region_from_lcid)
235 ICALL(REGINF_2, "construct_internal_region_from_name", ves_icall_System_Globalization_RegionInfo_construct_internal_region_from_name)
236
237 ICALL_TYPE(FAMW, "System.IO.FAMWatcher", FAMW_1)
238 ICALL(FAMW_1, "InternalFAMNextEvent", ves_icall_System_IO_FAMW_InternalFAMNextEvent)
239
240 ICALL_TYPE(FILEW, "System.IO.FileSystemWatcher", FILEW_4)
241 ICALL(FILEW_4, "InternalSupportsFSW", ves_icall_System_IO_FSW_SupportsFSW)
242
243 ICALL_TYPE(INOW, "System.IO.InotifyWatcher", INOW_1)
244 ICALL(INOW_1, "AddWatch", ves_icall_System_IO_InotifyWatcher_AddWatch)
245 ICALL(INOW_2, "GetInotifyInstance", ves_icall_System_IO_InotifyWatcher_GetInotifyInstance)
246 ICALL(INOW_3, "RemoveWatch", ves_icall_System_IO_InotifyWatcher_RemoveWatch)
247
248 ICALL_TYPE(MONOIO, "System.IO.MonoIO", MONOIO_1)
249 ICALL(MONOIO_1, "Close(intptr,System.IO.MonoIOError&)", ves_icall_System_IO_MonoIO_Close)
250 ICALL(MONOIO_2, "CopyFile(string,string,bool,System.IO.MonoIOError&)", ves_icall_System_IO_MonoIO_CopyFile)
251 ICALL(MONOIO_3, "CreateDirectory(string,System.IO.MonoIOError&)", ves_icall_System_IO_MonoIO_CreateDirectory)
252 ICALL(MONOIO_4, "CreatePipe(intptr&,intptr&)", ves_icall_System_IO_MonoIO_CreatePipe)
253 ICALL(MONOIO_5, "DeleteFile(string,System.IO.MonoIOError&)", ves_icall_System_IO_MonoIO_DeleteFile)
254 ICALL(MONOIO_6, "Flush(intptr,System.IO.MonoIOError&)", ves_icall_System_IO_MonoIO_Flush)
255 ICALL(MONOIO_7, "GetCurrentDirectory(System.IO.MonoIOError&)", ves_icall_System_IO_MonoIO_GetCurrentDirectory)
256 ICALL(MONOIO_8, "GetFileAttributes(string,System.IO.MonoIOError&)", ves_icall_System_IO_MonoIO_GetFileAttributes)
257 ICALL(MONOIO_9, "GetFileStat(string,System.IO.MonoIOStat&,System.IO.MonoIOError&)", ves_icall_System_IO_MonoIO_GetFileStat)
258 ICALL(MONOIO_10, "GetFileSystemEntries", ves_icall_System_IO_MonoIO_GetFileSystemEntries)
259 ICALL(MONOIO_11, "GetFileType(intptr,System.IO.MonoIOError&)", ves_icall_System_IO_MonoIO_GetFileType)
260 ICALL(MONOIO_12, "GetLength(intptr,System.IO.MonoIOError&)", ves_icall_System_IO_MonoIO_GetLength)
261 ICALL(MONOIO_13, "GetTempPath(string&)", ves_icall_System_IO_MonoIO_GetTempPath)
262 ICALL(MONOIO_14, "Lock(intptr,long,long,System.IO.MonoIOError&)", ves_icall_System_IO_MonoIO_Lock)
263 ICALL(MONOIO_15, "MoveFile(string,string,System.IO.MonoIOError&)", ves_icall_System_IO_MonoIO_MoveFile)
264 ICALL(MONOIO_16, "Open(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,System.IO.FileOptions,System.IO.MonoIOError&)", ves_icall_System_IO_MonoIO_Open)
265 ICALL(MONOIO_17, "Read(intptr,byte[],int,int,System.IO.MonoIOError&)", ves_icall_System_IO_MonoIO_Read)
266 ICALL(MONOIO_18, "RemoveDirectory(string,System.IO.MonoIOError&)", ves_icall_System_IO_MonoIO_RemoveDirectory)
267 ICALL(MONOIO_19, "Seek(intptr,long,System.IO.SeekOrigin,System.IO.MonoIOError&)", ves_icall_System_IO_MonoIO_Seek)
268 ICALL(MONOIO_20, "SetCurrentDirectory(string,System.IO.MonoIOError&)", ves_icall_System_IO_MonoIO_SetCurrentDirectory)
269 ICALL(MONOIO_21, "SetFileAttributes(string,System.IO.FileAttributes,System.IO.MonoIOError&)", ves_icall_System_IO_MonoIO_SetFileAttributes)
270 ICALL(MONOIO_22, "SetFileTime(intptr,long,long,long,System.IO.MonoIOError&)", ves_icall_System_IO_MonoIO_SetFileTime)
271 ICALL(MONOIO_23, "SetLength(intptr,long,System.IO.MonoIOError&)", ves_icall_System_IO_MonoIO_SetLength)
272 ICALL(MONOIO_24, "Unlock(intptr,long,long,System.IO.MonoIOError&)", ves_icall_System_IO_MonoIO_Unlock)
273 ICALL(MONOIO_25, "Write(intptr,byte[],int,int,System.IO.MonoIOError&)", ves_icall_System_IO_MonoIO_Write)
274 ICALL(MONOIO_26, "get_AltDirectorySeparatorChar", ves_icall_System_IO_MonoIO_get_AltDirectorySeparatorChar)
275 ICALL(MONOIO_27, "get_ConsoleError", ves_icall_System_IO_MonoIO_get_ConsoleError)
276 ICALL(MONOIO_28, "get_ConsoleInput", ves_icall_System_IO_MonoIO_get_ConsoleInput)
277 ICALL(MONOIO_29, "get_ConsoleOutput", ves_icall_System_IO_MonoIO_get_ConsoleOutput)
278 ICALL(MONOIO_30, "get_DirectorySeparatorChar", ves_icall_System_IO_MonoIO_get_DirectorySeparatorChar)
279 ICALL(MONOIO_31, "get_InvalidPathChars", ves_icall_System_IO_MonoIO_get_InvalidPathChars)
280 ICALL(MONOIO_32, "get_PathSeparator", ves_icall_System_IO_MonoIO_get_PathSeparator)
281 ICALL(MONOIO_33, "get_VolumeSeparatorChar", ves_icall_System_IO_MonoIO_get_VolumeSeparatorChar)
282
283 ICALL_TYPE(IOPATH, "System.IO.Path", IOPATH_1)
284 ICALL(IOPATH_1, "get_temp_path", ves_icall_System_IO_get_temp_path)
285
286 ICALL_TYPE(MATH, "System.Math", MATH_1)
287 ICALL(MATH_1, "Acos", ves_icall_System_Math_Acos)
288 ICALL(MATH_2, "Asin", ves_icall_System_Math_Asin)
289 ICALL(MATH_3, "Atan", ves_icall_System_Math_Atan)
290 ICALL(MATH_4, "Atan2", ves_icall_System_Math_Atan2)
291 ICALL(MATH_5, "Cos", ves_icall_System_Math_Cos)
292 ICALL(MATH_6, "Cosh", ves_icall_System_Math_Cosh)
293 ICALL(MATH_7, "Exp", ves_icall_System_Math_Exp)
294 ICALL(MATH_8, "Floor", ves_icall_System_Math_Floor)
295 ICALL(MATH_9, "Log", ves_icall_System_Math_Log)
296 ICALL(MATH_10, "Log10", ves_icall_System_Math_Log10)
297 ICALL(MATH_11, "Pow", ves_icall_System_Math_Pow)
298 ICALL(MATH_12, "Round", ves_icall_System_Math_Round)
299 ICALL(MATH_13, "Round2", ves_icall_System_Math_Round2)
300 ICALL(MATH_14, "Sin", ves_icall_System_Math_Sin)
301 ICALL(MATH_15, "Sinh", ves_icall_System_Math_Sinh)
302 ICALL(MATH_16, "Sqrt", ves_icall_System_Math_Sqrt)
303 ICALL(MATH_17, "Tan", ves_icall_System_Math_Tan)
304 ICALL(MATH_18, "Tanh", ves_icall_System_Math_Tanh)
305
306 ICALL_TYPE(MCATTR, "System.MonoCustomAttrs", MCATTR_1)
307 ICALL(MCATTR_1, "GetCustomAttributesDataInternal", mono_reflection_get_custom_attrs_data)
308 ICALL(MCATTR_2, "GetCustomAttributesInternal", custom_attrs_get_by_type)
309 ICALL(MCATTR_3, "IsDefinedInternal", custom_attrs_defined_internal)
310
311 ICALL_TYPE(MENUM, "System.MonoEnumInfo", MENUM_1)
312 ICALL(MENUM_1, "get_enum_info", ves_icall_get_enum_info)
313
314 ICALL_TYPE(MTYPE, "System.MonoType", MTYPE_1)
315 ICALL(MTYPE_1, "GetArrayRank", ves_icall_MonoType_GetArrayRank)
316 ICALL(MTYPE_2, "GetConstructors", ves_icall_Type_GetConstructors_internal)
317 ICALL(MTYPE_3, "GetConstructors_internal", ves_icall_Type_GetConstructors_internal)
318 ICALL(MTYPE_4, "GetCorrespondingInflatedConstructor", ves_icall_MonoType_GetCorrespondingInflatedMethod)
319 ICALL(MTYPE_5, "GetCorrespondingInflatedMethod", ves_icall_MonoType_GetCorrespondingInflatedMethod)
320 ICALL(MTYPE_6, "GetElementType", ves_icall_MonoType_GetElementType)
321 ICALL(MTYPE_7, "GetEvents_internal", ves_icall_Type_GetEvents_internal)
322 ICALL(MTYPE_8, "GetField", ves_icall_Type_GetField)
323 ICALL(MTYPE_9, "GetFields_internal", ves_icall_Type_GetFields_internal)
324 ICALL(MTYPE_10, "GetGenericArguments", ves_icall_MonoType_GetGenericArguments)
325 ICALL(MTYPE_11, "GetInterfaces", ves_icall_Type_GetInterfaces)
326 ICALL(MTYPE_12, "GetMethodsByName", ves_icall_Type_GetMethodsByName)
327 ICALL(MTYPE_13, "GetNestedType", ves_icall_Type_GetNestedType)
328 ICALL(MTYPE_14, "GetNestedTypes", ves_icall_Type_GetNestedTypes)
329 ICALL(MTYPE_15, "GetPropertiesByName", ves_icall_Type_GetPropertiesByName)
330 ICALL(MTYPE_16, "InternalGetEvent", ves_icall_MonoType_GetEvent)
331 ICALL(MTYPE_17, "IsByRefImpl", ves_icall_type_isbyref)
332 ICALL(MTYPE_18, "IsCOMObjectImpl", ves_icall_type_iscomobject)
333 ICALL(MTYPE_19, "IsPointerImpl", ves_icall_type_ispointer)
334 ICALL(MTYPE_20, "IsPrimitiveImpl", ves_icall_type_isprimitive)
335 ICALL(MTYPE_21, "getFullName", ves_icall_System_MonoType_getFullName)
336 ICALL(MTYPE_22, "get_Assembly", ves_icall_MonoType_get_Assembly)
337 ICALL(MTYPE_23, "get_BaseType", ves_icall_get_type_parent)
338 ICALL(MTYPE_24, "get_DeclaringMethod", ves_icall_MonoType_get_DeclaringMethod)
339 ICALL(MTYPE_25, "get_DeclaringType", ves_icall_MonoType_get_DeclaringType)
340 ICALL(MTYPE_26, "get_IsGenericParameter", ves_icall_MonoType_get_IsGenericParameter)
341 ICALL(MTYPE_27, "get_Module", ves_icall_MonoType_get_Module)
342 ICALL(MTYPE_28, "get_Name", ves_icall_MonoType_get_Name)
343 ICALL(MTYPE_29, "get_Namespace", ves_icall_MonoType_get_Namespace)
344 ICALL(MTYPE_30, "get_UnderlyingSystemType", ves_icall_MonoType_get_UnderlyingSystemType)
345 ICALL(MTYPE_31, "get_attributes", ves_icall_get_attributes)
346 ICALL(MTYPE_32, "type_from_obj", mono_type_type_from_obj)
347
348 ICALL_TYPE(NDNS, "System.Net.Dns", NDNS_1)
349 ICALL(NDNS_1, "GetHostByAddr_internal(string,string&,string[]&,string[]&)", ves_icall_System_Net_Dns_GetHostByAddr_internal)
350 ICALL(NDNS_2, "GetHostByName_internal(string,string&,string[]&,string[]&)", ves_icall_System_Net_Dns_GetHostByName_internal)
351 ICALL(NDNS_3, "GetHostName_internal(string&)", ves_icall_System_Net_Dns_GetHostName_internal)
352
353 ICALL_TYPE(SOCK, "System.Net.Sockets.Socket", SOCK_1)
354 ICALL(SOCK_1, "Accept_internal(intptr,int&)", ves_icall_System_Net_Sockets_Socket_Accept_internal)
355 ICALL(SOCK_2, "Available_internal(intptr,int&)", ves_icall_System_Net_Sockets_Socket_Available_internal)
356 ICALL(SOCK_3, "Bind_internal(intptr,System.Net.SocketAddress,int&)", ves_icall_System_Net_Sockets_Socket_Bind_internal)
357 ICALL(SOCK_4, "Blocking_internal(intptr,bool,int&)", ves_icall_System_Net_Sockets_Socket_Blocking_internal)
358 ICALL(SOCK_5, "Close_internal(intptr,int&)", ves_icall_System_Net_Sockets_Socket_Close_internal)
359 ICALL(SOCK_6, "Connect_internal(intptr,System.Net.SocketAddress,int&)", ves_icall_System_Net_Sockets_Socket_Connect_internal)
360 ICALL (SOCK_6a, "Disconnect_internal(intptr,bool,int&)", ves_icall_System_Net_Sockets_Socket_Disconnect_internal)
361 ICALL(SOCK_7, "GetSocketOption_arr_internal(intptr,System.Net.Sockets.SocketOptionLevel,System.Net.Sockets.SocketOptionName,byte[]&,int&)", ves_icall_System_Net_Sockets_Socket_GetSocketOption_arr_internal)
362 ICALL(SOCK_8, "GetSocketOption_obj_internal(intptr,System.Net.Sockets.SocketOptionLevel,System.Net.Sockets.SocketOptionName,object&,int&)", ves_icall_System_Net_Sockets_Socket_GetSocketOption_obj_internal)
363 ICALL(SOCK_9, "Listen_internal(intptr,int,int&)", ves_icall_System_Net_Sockets_Socket_Listen_internal)
364 ICALL(SOCK_10, "LocalEndPoint_internal(intptr,int&)", ves_icall_System_Net_Sockets_Socket_LocalEndPoint_internal)
365 ICALL(SOCK_11, "Poll_internal", ves_icall_System_Net_Sockets_Socket_Poll_internal)
366 ICALL(SOCK_12, "Receive_internal(intptr,byte[],int,int,System.Net.Sockets.SocketFlags,int&)", ves_icall_System_Net_Sockets_Socket_Receive_internal)
367 ICALL(SOCK_13, "RecvFrom_internal(intptr,byte[],int,int,System.Net.Sockets.SocketFlags,System.Net.SocketAddress&,int&)", ves_icall_System_Net_Sockets_Socket_RecvFrom_internal)
368 ICALL(SOCK_14, "RemoteEndPoint_internal(intptr,int&)", ves_icall_System_Net_Sockets_Socket_RemoteEndPoint_internal)
369 ICALL(SOCK_15, "Select_internal(System.Net.Sockets.Socket[]&,int,int&)", ves_icall_System_Net_Sockets_Socket_Select_internal)
370 ICALL(SOCK_16, "SendTo_internal(intptr,byte[],int,int,System.Net.Sockets.SocketFlags,System.Net.SocketAddress,int&)", ves_icall_System_Net_Sockets_Socket_SendTo_internal)
371 ICALL(SOCK_17, "Send_internal(intptr,byte[],int,int,System.Net.Sockets.SocketFlags,int&)", ves_icall_System_Net_Sockets_Socket_Send_internal)
372 ICALL(SOCK_18, "SetSocketOption_internal(intptr,System.Net.Sockets.SocketOptionLevel,System.Net.Sockets.SocketOptionName,object,byte[],int,int&)", ves_icall_System_Net_Sockets_Socket_SetSocketOption_internal)
373 ICALL(SOCK_19, "Shutdown_internal(intptr,System.Net.Sockets.SocketShutdown,int&)", ves_icall_System_Net_Sockets_Socket_Shutdown_internal)
374 ICALL(SOCK_20, "Socket_internal(System.Net.Sockets.AddressFamily,System.Net.Sockets.SocketType,System.Net.Sockets.ProtocolType,int&)", ves_icall_System_Net_Sockets_Socket_Socket_internal)
375 ICALL(SOCK_21, "WSAIoctl(intptr,int,byte[],byte[],int&)", ves_icall_System_Net_Sockets_Socket_WSAIoctl)
376
377 ICALL_TYPE(SOCKEX, "System.Net.Sockets.SocketException", SOCKEX_1)
378 ICALL(SOCKEX_1, "WSAGetLastError_internal", ves_icall_System_Net_Sockets_SocketException_WSAGetLastError_internal)
379
380 ICALL_TYPE(OBJ, "System.Object", OBJ_1)
381 ICALL(OBJ_1, "GetType", ves_icall_System_Object_GetType)
382 ICALL(OBJ_2, "InternalGetHashCode", mono_object_hash)
383 ICALL(OBJ_3, "MemberwiseClone", ves_icall_System_Object_MemberwiseClone)
384 ICALL(OBJ_4, "obj_address", ves_icall_System_Object_obj_address)
385
386 ICALL_TYPE(ASSEM, "System.Reflection.Assembly", ASSEM_1)
387 ICALL(ASSEM_1, "FillName", ves_icall_System_Reflection_Assembly_FillName)
388 ICALL(ASSEM_2, "GetCallingAssembly", ves_icall_System_Reflection_Assembly_GetCallingAssembly)
389 ICALL(ASSEM_3, "GetEntryAssembly", ves_icall_System_Reflection_Assembly_GetEntryAssembly)
390 ICALL(ASSEM_4, "GetExecutingAssembly", ves_icall_System_Reflection_Assembly_GetExecutingAssembly)
391 ICALL(ASSEM_5, "GetFilesInternal", ves_icall_System_Reflection_Assembly_GetFilesInternal)
392 ICALL(ASSEM_6, "GetManifestResourceInfoInternal", ves_icall_System_Reflection_Assembly_GetManifestResourceInfoInternal)
393 ICALL(ASSEM_7, "GetManifestResourceInternal", ves_icall_System_Reflection_Assembly_GetManifestResourceInternal)
394 ICALL(ASSEM_8, "GetManifestResourceNames", ves_icall_System_Reflection_Assembly_GetManifestResourceNames)
395 ICALL(ASSEM_9, "GetModulesInternal", ves_icall_System_Reflection_Assembly_GetModulesInternal)
396 ICALL(ASSEM_10, "GetNamespaces", ves_icall_System_Reflection_Assembly_GetNamespaces)
397 ICALL(ASSEM_11, "GetReferencedAssemblies", ves_icall_System_Reflection_Assembly_GetReferencedAssemblies)
398 ICALL(ASSEM_12, "GetTypes", ves_icall_System_Reflection_Assembly_GetTypes)
399 ICALL(ASSEM_13, "InternalGetAssemblyName", ves_icall_System_Reflection_Assembly_InternalGetAssemblyName)
400 ICALL(ASSEM_14, "InternalGetType", ves_icall_System_Reflection_Assembly_InternalGetType)
401 ICALL(ASSEM_15, "InternalImageRuntimeVersion", ves_icall_System_Reflection_Assembly_InternalImageRuntimeVersion)
402 ICALL(ASSEM_16, "LoadFrom", ves_icall_System_Reflection_Assembly_LoadFrom)
403 ICALL(ASSEM_17, "LoadPermissions", ves_icall_System_Reflection_Assembly_LoadPermissions)
404         /*
405          * Private icalls for the Mono Debugger
406          */
407 ICALL(ASSEM_18, "MonoDebugger_GetMethodToken", ves_icall_MonoDebugger_GetMethodToken)
408
409         /* normal icalls again */
410 ICALL(ASSEM_19, "get_EntryPoint", ves_icall_System_Reflection_Assembly_get_EntryPoint)
411 ICALL(ASSEM_20, "get_ManifestModule", ves_icall_System_Reflection_Assembly_get_ManifestModule)
412 ICALL(ASSEM_21, "get_ReflectionOnly", ves_icall_System_Reflection_Assembly_get_ReflectionOnly)
413 ICALL(ASSEM_22, "get_code_base", ves_icall_System_Reflection_Assembly_get_code_base)
414 ICALL(ASSEM_23, "get_global_assembly_cache", ves_icall_System_Reflection_Assembly_get_global_assembly_cache)
415 ICALL(ASSEM_24, "get_location", ves_icall_System_Reflection_Assembly_get_location)
416 ICALL(ASSEM_25, "load_with_partial_name", ves_icall_System_Reflection_Assembly_load_with_partial_name)
417
418 ICALL_TYPE(ASSEMN, "System.Reflection.AssemblyName", ASSEMN_1)
419 ICALL(ASSEMN_1, "ParseName", ves_icall_System_Reflection_AssemblyName_ParseName)
420
421 ICALL_TYPE(ASSEMB, "System.Reflection.Emit.AssemblyBuilder", ASSEMB_1)
422 ICALL(ASSEMB_1, "InternalAddModule", mono_image_load_module)
423 ICALL(ASSEMB_2, "basic_init", mono_image_basic_init)
424
425 ICALL_TYPE(CATTRB, "System.Reflection.Emit.CustomAttributeBuilder", CATTRB_1)
426 ICALL(CATTRB_1, "GetBlob", mono_reflection_get_custom_attrs_blob)
427
428 ICALL_TYPE(DYNM, "System.Reflection.Emit.DynamicMethod", DYNM_1)
429 ICALL(DYNM_1, "create_dynamic_method", mono_reflection_create_dynamic_method)
430
431 ICALL_TYPE(ENUMB, "System.Reflection.Emit.EnumBuilder", ENUMB_1)
432 ICALL(ENUMB_1, "setup_enum_type", ves_icall_EnumBuilder_setup_enum_type)
433
434 ICALL_TYPE(GPARB, "System.Reflection.Emit.GenericTypeParameterBuilder", GPARB_1)
435 ICALL(GPARB_1, "initialize", mono_reflection_initialize_generic_parameter)
436
437 ICALL_TYPE(METHODB, "System.Reflection.Emit.MethodBuilder", METHODB_1)
438 ICALL(METHODB_1, "MakeGenericMethod", mono_reflection_bind_generic_method_parameters)
439
440 ICALL_TYPE(MODULEB, "System.Reflection.Emit.ModuleBuilder", MODULEB_1)
441 ICALL(MODULEB_1, "WriteToFile", ves_icall_ModuleBuilder_WriteToFile)
442 ICALL(MODULEB_2, "basic_init", mono_image_module_basic_init)
443 ICALL(MODULEB_3, "build_metadata", ves_icall_ModuleBuilder_build_metadata)
444 ICALL(MODULEB_4, "create_modified_type", ves_icall_ModuleBuilder_create_modified_type)
445 ICALL(MODULEB_5, "getMethodToken", ves_icall_ModuleBuilder_getMethodToken)
446 ICALL(MODULEB_6, "getToken", ves_icall_ModuleBuilder_getToken)
447 ICALL(MODULEB_7, "getUSIndex", mono_image_insert_string)
448
449 ICALL_TYPE(SIGH, "System.Reflection.Emit.SignatureHelper", SIGH_1)
450 ICALL(SIGH_1, "get_signature_field", mono_reflection_sighelper_get_signature_field)
451 ICALL(SIGH_2, "get_signature_local", mono_reflection_sighelper_get_signature_local)
452
453 ICALL_TYPE(TYPEB, "System.Reflection.Emit.TypeBuilder", TYPEB_1)
454 ICALL(TYPEB_1, "create_generic_class", mono_reflection_create_generic_class)
455 ICALL(TYPEB_2, "create_internal_class", mono_reflection_create_internal_class)
456 ICALL(TYPEB_3, "create_runtime_class", mono_reflection_create_runtime_class)
457 ICALL(TYPEB_4, "get_IsGenericParameter", ves_icall_TypeBuilder_get_IsGenericParameter)
458 ICALL(TYPEB_5, "get_event_info", mono_reflection_event_builder_get_event_info)
459 ICALL(TYPEB_6, "setup_generic_class", mono_reflection_setup_generic_class)
460 ICALL(TYPEB_7, "setup_internal_class", mono_reflection_setup_internal_class)
461
462 ICALL_TYPE(FIELDI, "System.Reflection.FieldInfo", FILEDI_1)
463 ICALL(FILEDI_1, "GetUnmanagedMarshal", ves_icall_System_Reflection_FieldInfo_GetUnmanagedMarshal)
464 ICALL(FILEDI_2, "internal_from_handle", ves_icall_System_Reflection_FieldInfo_internal_from_handle)
465
466 ICALL_TYPE(MEMBERI, "System.Reflection.MemberInfo", MEMBERI_1)
467 ICALL(MEMBERI_1, "get_MetadataToken", mono_reflection_get_token)
468
469 ICALL_TYPE(MBASE, "System.Reflection.MethodBase", MBASE_1)
470 ICALL(MBASE_1, "GetCurrentMethod", ves_icall_GetCurrentMethod)
471 ICALL(MBASE_2, "GetMethodBodyInternal", ves_icall_System_Reflection_MethodBase_GetMethodBodyInternal)
472 ICALL(MBASE_3, "GetMethodFromHandleInternal", ves_icall_System_Reflection_MethodBase_GetMethodFromHandleInternal)
473
474 ICALL_TYPE(MODULE, "System.Reflection.Module", MODULE_1)
475 ICALL(MODULE_1, "Close", ves_icall_System_Reflection_Module_Close)
476 ICALL(MODULE_2, "GetGlobalType", ves_icall_System_Reflection_Module_GetGlobalType)
477 ICALL(MODULE_3, "GetGuidInternal", ves_icall_System_Reflection_Module_GetGuidInternal)
478 ICALL(MODULE_4, "GetPEKind", ves_icall_System_Reflection_Module_GetPEKind)
479 ICALL(MODULE_5, "InternalGetTypes", ves_icall_System_Reflection_Module_InternalGetTypes)
480 ICALL(MODULE_6, "ResolveFieldToken", ves_icall_System_Reflection_Module_ResolveFieldToken)
481 ICALL(MODULE_7, "ResolveMemberToken", ves_icall_System_Reflection_Module_ResolveMemberToken)
482 ICALL(MODULE_8, "ResolveMethodToken", ves_icall_System_Reflection_Module_ResolveMethodToken)
483 ICALL(MODULE_9, "ResolveStringToken", ves_icall_System_Reflection_Module_ResolveStringToken)
484 ICALL(MODULE_10, "ResolveTypeToken", ves_icall_System_Reflection_Module_ResolveTypeToken)
485 ICALL(MODULE_11, "get_MDStreamVersion", ves_icall_System_Reflection_Module_get_MDStreamVersion)
486 ICALL(MODULE_12, "get_MetadataToken", mono_reflection_get_token)
487
488 ICALL_TYPE(MCMETH, "System.Reflection.MonoCMethod", MCMETH_1)
489 ICALL(MCMETH_1, "GetGenericMethodDefinition_impl", ves_icall_MonoMethod_GetGenericMethodDefinition)
490 ICALL(MCMETH_2, "InternalInvoke", ves_icall_InternalInvoke)
491
492 ICALL_TYPE(MEVIN, "System.Reflection.MonoEventInfo", MEVIN_1)
493 ICALL(MEVIN_1, "get_event_info", ves_icall_get_event_info)
494
495 ICALL_TYPE(MFIELD, "System.Reflection.MonoField", MFIELD_1)
496 ICALL(MFIELD_1, "GetFieldOffset", ves_icall_MonoField_GetFieldOffset)
497 ICALL(MFIELD_2, "GetParentType", ves_icall_MonoField_GetParentType)
498 ICALL(MFIELD_3, "GetValueInternal", ves_icall_MonoField_GetValueInternal)
499 ICALL(MFIELD_4, "SetValueInternal", ves_icall_FieldInfo_SetValueInternal)
500
501 ICALL_TYPE(MGENCM, "System.Reflection.MonoGenericCMethod", MGENCM_1)
502 ICALL(MGENCM_1, "get_ReflectedType", ves_icall_MonoGenericMethod_get_ReflectedType)
503
504 ICALL_TYPE(MGENCL, "System.Reflection.MonoGenericClass", MGENCL_1)
505 ICALL(MGENCL_1, "GetConstructors_internal", ves_icall_MonoGenericClass_GetConstructors)
506 ICALL(MGENCL_2, "GetCorrespondingInflatedConstructor", ves_icall_MonoGenericClass_GetCorrespondingInflatedConstructor)
507 ICALL(MGENCL_3, "GetCorrespondingInflatedField", ves_icall_MonoGenericClass_GetCorrespondingInflatedField)
508 ICALL(MGENCL_4, "GetCorrespondingInflatedMethod", ves_icall_MonoGenericClass_GetCorrespondingInflatedMethod)
509 ICALL(MGENCL_5, "GetEvents_internal", ves_icall_MonoGenericClass_GetEvents)
510 ICALL(MGENCL_6, "GetFields_internal", ves_icall_MonoGenericClass_GetFields)
511 ICALL(MGENCL_7, "GetInterfaces_internal", ves_icall_MonoGenericClass_GetInterfaces)
512 ICALL(MGENCL_8, "GetMethods_internal", ves_icall_MonoGenericClass_GetMethods)
513 ICALL(MGENCL_9, "GetParentType", ves_icall_MonoGenericClass_GetParentType)
514 ICALL(MGENCL_10, "GetProperties_internal", ves_icall_MonoGenericClass_GetProperties)
515 ICALL(MGENCL_11, "initialize", mono_reflection_generic_class_initialize)
516
517 /* note this is the same as above: unify */
518 ICALL_TYPE(MGENM, "System.Reflection.MonoGenericMethod", MGENM_1)
519 ICALL(MGENM_1, "get_ReflectedType", ves_icall_MonoGenericMethod_get_ReflectedType)
520
521 ICALL_TYPE(MMETH, "System.Reflection.MonoMethod", MMETH_1)
522 ICALL(MMETH_1, "GetDllImportAttribute", ves_icall_MonoMethod_GetDllImportAttribute)
523 ICALL(MMETH_2, "GetGenericArguments", ves_icall_MonoMethod_GetGenericArguments)
524 ICALL(MMETH_3, "GetGenericMethodDefinition_impl", ves_icall_MonoMethod_GetGenericMethodDefinition)
525 ICALL(MMETH_4, "InternalInvoke", ves_icall_InternalInvoke)
526 ICALL(MMETH_5, "MakeGenericMethod_impl", mono_reflection_bind_generic_method_parameters)
527 ICALL(MMETH_6, "get_IsGenericMethod", ves_icall_MonoMethod_get_IsGenericMethod)
528 ICALL(MMETH_7, "get_IsGenericMethodDefinition", ves_icall_MonoMethod_get_IsGenericMethodDefinition)
529 ICALL(MMETH_8, "get_base_definition", ves_icall_MonoMethod_get_base_definition)
530
531 ICALL_TYPE(MMETHI, "System.Reflection.MonoMethodInfo", MMETHI_1)
532 ICALL(MMETHI_1, "get_method_info", ves_icall_get_method_info)
533 ICALL(MMETHI_2, "get_parameter_info", ves_icall_get_parameter_info)
534 ICALL(MMETHI_3, "get_retval_marshal", ves_icall_System_MonoMethodInfo_get_retval_marshal)
535
536 ICALL_TYPE(MPROPI, "System.Reflection.MonoPropertyInfo", MPROPI_1)
537 ICALL(MPROPI_1, "GetTypeModifiers", property_info_get_type_modifiers)
538 ICALL(MPROPI_2, "get_property_info", ves_icall_get_property_info)
539
540 ICALL_TYPE(PARAMI, "System.Reflection.ParameterInfo", PARAMI_1)
541 ICALL(PARAMI_1, "GetTypeModifiers", param_info_get_type_modifiers)
542 ICALL(PARAMI_2, "get_MetadataToken", mono_reflection_get_token)
543
544 ICALL_TYPE(RUNH, "System.Runtime.CompilerServices.RuntimeHelpers", RUNH_1)
545 ICALL(RUNH_1, "GetObjectValue", ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_GetObjectValue)
546          /* REMOVEME: no longer needed, just so we dont break things when not needed */
547 ICALL(RUNH_2, "GetOffsetToStringData", ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_GetOffsetToStringData)
548 ICALL(RUNH_3, "InitializeArray", ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_InitializeArray)
549 ICALL(RUNH_4, "RunClassConstructor", ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_RunClassConstructor)
550 ICALL(RUNH_5, "get_OffsetToStringData", ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_GetOffsetToStringData)
551
552 ICALL_TYPE(GCH, "System.Runtime.InteropServices.GCHandle", GCH_1)
553 ICALL(GCH_1, "CheckCurrentDomain", GCHandle_CheckCurrentDomain)
554 ICALL(GCH_2, "FreeHandle", ves_icall_System_GCHandle_FreeHandle)
555 ICALL(GCH_3, "GetAddrOfPinnedObject", ves_icall_System_GCHandle_GetAddrOfPinnedObject)
556 ICALL(GCH_4, "GetTarget", ves_icall_System_GCHandle_GetTarget)
557 ICALL(GCH_5, "GetTargetHandle", ves_icall_System_GCHandle_GetTargetHandle)
558
559 ICALL_TYPE(MARSHAL, "System.Runtime.InteropServices.Marshal", MARSHAL_1)
560 ICALL(MARSHAL_1, "AddRef", ves_icall_System_Runtime_InteropServices_Marshal_AddRef)
561 ICALL(MARSHAL_2, "AllocCoTaskMem", ves_icall_System_Runtime_InteropServices_Marshal_AllocCoTaskMem)
562 ICALL(MARSHAL_3, "AllocHGlobal", ves_icall_System_Runtime_InteropServices_Marshal_AllocHGlobal)
563 ICALL(MARSHAL_4, "DestroyStructure", ves_icall_System_Runtime_InteropServices_Marshal_DestroyStructure)
564 ICALL(MARSHAL_5, "FreeBSTR", ves_icall_System_Runtime_InteropServices_Marshal_FreeBSTR)
565 ICALL(MARSHAL_6, "FreeCoTaskMem", ves_icall_System_Runtime_InteropServices_Marshal_FreeCoTaskMem)
566 ICALL(MARSHAL_7, "FreeHGlobal", ves_icall_System_Runtime_InteropServices_Marshal_FreeHGlobal)
567 ICALL(MARSHAL_8, "GetComSlotForMethodInfoInternal", ves_icall_System_Runtime_InteropServices_Marshal_GetComSlotForMethodInfoInternal)
568 ICALL(MARSHAL_9, "GetDelegateForFunctionPointerInternal", ves_icall_System_Runtime_InteropServices_Marshal_GetDelegateForFunctionPointerInternal)
569 ICALL(MARSHAL_10, "GetFunctionPointerForDelegateInternal", mono_delegate_to_ftnptr)
570 ICALL(MARSHAL_11, "GetLastWin32Error", ves_icall_System_Runtime_InteropServices_Marshal_GetLastWin32Error)
571 ICALL(MARSHAL_12, "OffsetOf", ves_icall_System_Runtime_InteropServices_Marshal_OffsetOf)
572 ICALL(MARSHAL_13, "Prelink", ves_icall_System_Runtime_InteropServices_Marshal_Prelink)
573 ICALL(MARSHAL_14, "PrelinkAll", ves_icall_System_Runtime_InteropServices_Marshal_PrelinkAll)
574 ICALL(MARSHAL_15, "PtrToStringAnsi(intptr)", ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringAnsi)
575 ICALL(MARSHAL_16, "PtrToStringAnsi(intptr,int)", ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringAnsi_len)
576 ICALL(MARSHAL_17, "PtrToStringBSTR", ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringBSTR)
577 ICALL(MARSHAL_18, "PtrToStringUni(intptr)", ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringUni)
578 ICALL(MARSHAL_19, "PtrToStringUni(intptr,int)", ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringUni_len)
579 ICALL(MARSHAL_20, "PtrToStructure(intptr,System.Type)", ves_icall_System_Runtime_InteropServices_Marshal_PtrToStructure_type)
580 ICALL(MARSHAL_21, "PtrToStructure(intptr,object)", ves_icall_System_Runtime_InteropServices_Marshal_PtrToStructure)
581 ICALL(MARSHAL_22, "QueryInterface", ves_icall_System_Runtime_InteropServices_Marshal_QueryInterface)
582 ICALL(MARSHAL_43, "ReAllocCoTaskMem", ves_icall_System_Runtime_InteropServices_Marshal_ReAllocCoTaskMem)
583 ICALL(MARSHAL_23, "ReAllocHGlobal", mono_marshal_realloc)
584 ICALL(MARSHAL_24, "ReadByte", ves_icall_System_Runtime_InteropServices_Marshal_ReadByte)
585 ICALL(MARSHAL_25, "ReadInt16", ves_icall_System_Runtime_InteropServices_Marshal_ReadInt16)
586 ICALL(MARSHAL_26, "ReadInt32", ves_icall_System_Runtime_InteropServices_Marshal_ReadInt32)
587 ICALL(MARSHAL_27, "ReadInt64", ves_icall_System_Runtime_InteropServices_Marshal_ReadInt64)
588 ICALL(MARSHAL_28, "ReadIntPtr", ves_icall_System_Runtime_InteropServices_Marshal_ReadIntPtr)
589 ICALL(MARSHAL_29, "Release", ves_icall_System_Runtime_InteropServices_Marshal_Release)
590 ICALL(MARSHAL_30, "SizeOf", ves_icall_System_Runtime_InteropServices_Marshal_SizeOf)
591 ICALL(MARSHAL_31, "StringToBSTR", ves_icall_System_Runtime_InteropServices_Marshal_StringToBSTR)
592 ICALL(MARSHAL_32, "StringToHGlobalAnsi", ves_icall_System_Runtime_InteropServices_Marshal_StringToHGlobalAnsi)
593 ICALL(MARSHAL_33, "StringToHGlobalUni", ves_icall_System_Runtime_InteropServices_Marshal_StringToHGlobalUni)
594 ICALL(MARSHAL_34, "StructureToPtr", ves_icall_System_Runtime_InteropServices_Marshal_StructureToPtr)
595 ICALL(MARSHAL_35, "UnsafeAddrOfPinnedArrayElement", ves_icall_System_Runtime_InteropServices_Marshal_UnsafeAddrOfPinnedArrayElement)
596 ICALL(MARSHAL_36, "WriteByte", ves_icall_System_Runtime_InteropServices_Marshal_WriteByte)
597 ICALL(MARSHAL_37, "WriteInt16", ves_icall_System_Runtime_InteropServices_Marshal_WriteInt16)
598 ICALL(MARSHAL_38, "WriteInt32", ves_icall_System_Runtime_InteropServices_Marshal_WriteInt32)
599 ICALL(MARSHAL_39, "WriteInt64", ves_icall_System_Runtime_InteropServices_Marshal_WriteInt64)
600 ICALL(MARSHAL_40, "WriteIntPtr", ves_icall_System_Runtime_InteropServices_Marshal_WriteIntPtr)
601 ICALL(MARSHAL_41, "copy_from_unmanaged", ves_icall_System_Runtime_InteropServices_Marshal_copy_from_unmanaged)
602 ICALL(MARSHAL_42, "copy_to_unmanaged", ves_icall_System_Runtime_InteropServices_Marshal_copy_to_unmanaged)
603
604 ICALL_TYPE(ACTS, "System.Runtime.Remoting.Activation.ActivationServices", ACTS_1)
605 ICALL(ACTS_1, "AllocateUninitializedClassInstance", ves_icall_System_Runtime_Activation_ActivationServices_AllocateUninitializedClassInstance)
606 ICALL(ACTS_2, "EnableProxyActivation", ves_icall_System_Runtime_Activation_ActivationServices_EnableProxyActivation)
607
608 ICALL_TYPE(MONOMM, "System.Runtime.Remoting.Messaging.MonoMethodMessage", MONOMM_1)
609 ICALL(MONOMM_1, "InitMessage", ves_icall_MonoMethodMessage_InitMessage)
610
611 ICALL_TYPE(REALP, "System.Runtime.Remoting.Proxies.RealProxy", REALP_1)
612 ICALL(REALP_1, "InternalGetProxyType", ves_icall_Remoting_RealProxy_InternalGetProxyType)
613 ICALL(REALP_2, "InternalGetTransparentProxy", ves_icall_Remoting_RealProxy_GetTransparentProxy)
614
615 ICALL_TYPE(REMSER, "System.Runtime.Remoting.RemotingServices", REMSER_1)
616 ICALL(REMSER_1, "InternalExecute", ves_icall_InternalExecute)
617 ICALL(REMSER_2, "IsTransparentProxy", ves_icall_IsTransparentProxy)
618
619 ICALL_TYPE(MHAN, "System.RuntimeMethodHandle", MHAN_1)
620 ICALL(MHAN_1, "GetFunctionPointer", ves_icall_RuntimeMethod_GetFunctionPointer)
621
622 ICALL_TYPE(RNG, "System.Security.Cryptography.RNGCryptoServiceProvider", RNG_1)
623 ICALL(RNG_1, "RngClose", ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngClose)
624 ICALL(RNG_2, "RngGetBytes", ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngGetBytes)
625 ICALL(RNG_3, "RngInitialize", ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngInitialize)
626 ICALL(RNG_4, "RngOpen", ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngOpen)
627
628 ICALL_TYPE(EVID, "System.Security.Policy.Evidence", EVID_1)
629 ICALL(EVID_1, "IsAuthenticodePresent", ves_icall_System_Security_Policy_Evidence_IsAuthenticodePresent)
630
631 ICALL_TYPE(WINID, "System.Security.Principal.WindowsIdentity", WINID_1)
632 ICALL(WINID_1, "GetCurrentToken", ves_icall_System_Security_Principal_WindowsIdentity_GetCurrentToken)
633 ICALL(WINID_2, "GetTokenName", ves_icall_System_Security_Principal_WindowsIdentity_GetTokenName)
634 ICALL(WINID_3, "GetUserToken", ves_icall_System_Security_Principal_WindowsIdentity_GetUserToken)
635 ICALL(WINID_4, "_GetRoles", ves_icall_System_Security_Principal_WindowsIdentity_GetRoles)
636
637 ICALL_TYPE(WINIMP, "System.Security.Principal.WindowsImpersonationContext", WINIMP_1)
638 ICALL(WINIMP_1, "CloseToken", ves_icall_System_Security_Principal_WindowsImpersonationContext_CloseToken)
639 ICALL(WINIMP_2, "DuplicateToken", ves_icall_System_Security_Principal_WindowsImpersonationContext_DuplicateToken)
640 ICALL(WINIMP_3, "RevertToSelf", ves_icall_System_Security_Principal_WindowsImpersonationContext_RevertToSelf)
641 ICALL(WINIMP_4, "SetCurrentToken", ves_icall_System_Security_Principal_WindowsImpersonationContext_SetCurrentToken)
642
643 ICALL_TYPE(WINPRIN, "System.Security.Principal.WindowsPrincipal", WINPRIN_1)
644 ICALL(WINPRIN_1, "IsMemberOfGroupId", ves_icall_System_Security_Principal_WindowsPrincipal_IsMemberOfGroupId)
645 ICALL(WINPRIN_2, "IsMemberOfGroupName", ves_icall_System_Security_Principal_WindowsPrincipal_IsMemberOfGroupName)
646
647 ICALL_TYPE(SECMAN, "System.Security.SecurityManager", SECMAN_1)
648 ICALL(SECMAN_1, "GetLinkDemandSecurity", ves_icall_System_Security_SecurityManager_GetLinkDemandSecurity)
649 ICALL(SECMAN_2, "get_CheckExecutionRights", ves_icall_System_Security_SecurityManager_get_CheckExecutionRights)
650 ICALL(SECMAN_3, "get_SecurityEnabled", ves_icall_System_Security_SecurityManager_get_SecurityEnabled)
651 ICALL(SECMAN_4, "set_CheckExecutionRights", ves_icall_System_Security_SecurityManager_set_CheckExecutionRights)
652 ICALL(SECMAN_5, "set_SecurityEnabled", ves_icall_System_Security_SecurityManager_set_SecurityEnabled)
653
654 ICALL_TYPE(STRING, "System.String", STRING_1)
655 ICALL(STRING_1, ".ctor(char*)", ves_icall_System_String_ctor_charp)
656 ICALL(STRING_2, ".ctor(char*,int,int)", ves_icall_System_String_ctor_charp_int_int)
657 ICALL(STRING_3, ".ctor(char,int)", ves_icall_System_String_ctor_char_int)
658 ICALL(STRING_4, ".ctor(char[])", ves_icall_System_String_ctor_chara)
659 ICALL(STRING_5, ".ctor(char[],int,int)", ves_icall_System_String_ctor_chara_int_int)
660 ICALL(STRING_6, ".ctor(sbyte*)", ves_icall_System_String_ctor_RedirectToCreateString)
661 ICALL(STRING_7, ".ctor(sbyte*,int,int)", ves_icall_System_String_ctor_RedirectToCreateString)
662 ICALL(STRING_8, ".ctor(sbyte*,int,int,System.Text.Encoding)", ves_icall_System_String_ctor_RedirectToCreateString)
663 ICALL(STRING_9, "InternalAllocateStr", ves_icall_System_String_InternalAllocateStr)
664 ICALL(STRING_10, "InternalCharCopy", ves_icall_System_String_InternalCharCopy)
665 ICALL(STRING_11, "InternalCopyTo", ves_icall_System_String_InternalCopyTo)
666 ICALL(STRING_12, "InternalIndexOfAny", ves_icall_System_String_InternalIndexOfAny)
667 ICALL(STRING_13, "InternalInsert", ves_icall_System_String_InternalInsert)
668 ICALL(STRING_14, "InternalIntern", ves_icall_System_String_InternalIntern)
669 ICALL(STRING_15, "InternalIsInterned", ves_icall_System_String_InternalIsInterned)
670 ICALL(STRING_16, "InternalJoin", ves_icall_System_String_InternalJoin)
671 ICALL(STRING_17, "InternalLastIndexOfAny", ves_icall_System_String_InternalLastIndexOfAny)
672 ICALL(STRING_18, "InternalPad", ves_icall_System_String_InternalPad)
673 ICALL(STRING_19, "InternalRemove", ves_icall_System_String_InternalRemove)
674 ICALL(STRING_20, "InternalReplace(char,char)", ves_icall_System_String_InternalReplace_Char)
675 ICALL(STRING_21, "InternalReplace(string,string,System.Globalization.CompareInfo)", ves_icall_System_String_InternalReplace_Str_Comp)
676 ICALL(STRING_22, "InternalSplit", ves_icall_System_String_InternalSplit)
677 ICALL(STRING_23, "InternalStrcpy(string,int,char[])", ves_icall_System_String_InternalStrcpy_Chars)
678 ICALL(STRING_24, "InternalStrcpy(string,int,char[],int,int)", ves_icall_System_String_InternalStrcpy_CharsN)
679 ICALL(STRING_25, "InternalStrcpy(string,int,string)", ves_icall_System_String_InternalStrcpy_Str)
680 ICALL(STRING_26, "InternalStrcpy(string,int,string,int,int)", ves_icall_System_String_InternalStrcpy_StrN)
681 ICALL(STRING_27, "InternalTrim", ves_icall_System_String_InternalTrim)
682 ICALL(STRING_28, "get_Chars", ves_icall_System_String_get_Chars)
683
684 ICALL_TYPE(TENC, "System.Text.Encoding", TENC_1)
685 ICALL(TENC_1, "InternalCodePage", ves_icall_System_Text_Encoding_InternalCodePage)
686
687 ICALL_TYPE(ILOCK, "System.Threading.Interlocked", ILOCK_1)
688 ICALL(ILOCK_1, "Add(int&,int)", ves_icall_System_Threading_Interlocked_Add_Int)
689 ICALL(ILOCK_2, "Add(long&,long)", ves_icall_System_Threading_Interlocked_Add_Long)
690 ICALL(ILOCK_3, "CompareExchange(T&,T,T)", ves_icall_System_Threading_Interlocked_CompareExchange_T)
691 ICALL(ILOCK_4, "CompareExchange(double&,double,double)", ves_icall_System_Threading_Interlocked_CompareExchange_Double)
692 ICALL(ILOCK_5, "CompareExchange(int&,int,int)", ves_icall_System_Threading_Interlocked_CompareExchange_Int)
693 ICALL(ILOCK_6, "CompareExchange(intptr&,intptr,intptr)", ves_icall_System_Threading_Interlocked_CompareExchange_Object)
694 ICALL(ILOCK_7, "CompareExchange(long&,long,long)", ves_icall_System_Threading_Interlocked_CompareExchange_Long)
695 ICALL(ILOCK_8, "CompareExchange(object&,object,object)", ves_icall_System_Threading_Interlocked_CompareExchange_Object)
696 ICALL(ILOCK_9, "CompareExchange(single&,single,single)", ves_icall_System_Threading_Interlocked_CompareExchange_Single)
697 ICALL(ILOCK_10, "Decrement(int&)", ves_icall_System_Threading_Interlocked_Decrement_Int)
698 ICALL(ILOCK_11, "Decrement(long&)", ves_icall_System_Threading_Interlocked_Decrement_Long)
699 ICALL(ILOCK_12, "Exchange(T&,T)", ves_icall_System_Threading_Interlocked_Exchange_T)
700 ICALL(ILOCK_13, "Exchange(double&,double)", ves_icall_System_Threading_Interlocked_Exchange_Double)
701 ICALL(ILOCK_14, "Exchange(int&,int)", ves_icall_System_Threading_Interlocked_Exchange_Int)
702 ICALL(ILOCK_15, "Exchange(intptr&,intptr)", ves_icall_System_Threading_Interlocked_Exchange_Object)
703 ICALL(ILOCK_16, "Exchange(long&,long)", ves_icall_System_Threading_Interlocked_Exchange_Long)
704 ICALL(ILOCK_17, "Exchange(object&,object)", ves_icall_System_Threading_Interlocked_Exchange_Object)
705 ICALL(ILOCK_18, "Exchange(single&,single)", ves_icall_System_Threading_Interlocked_Exchange_Single)
706 ICALL(ILOCK_19, "Increment(int&)", ves_icall_System_Threading_Interlocked_Increment_Int)
707 ICALL(ILOCK_20, "Increment(long&)", ves_icall_System_Threading_Interlocked_Increment_Long)
708 ICALL(ILOCK_21, "Read(long&)", ves_icall_System_Threading_Interlocked_Read_Long)
709
710 ICALL_TYPE(MONIT, "System.Threading.Monitor", MONIT_1)
711 ICALL(MONIT_1, "Monitor_exit", ves_icall_System_Threading_Monitor_Monitor_exit)
712 ICALL(MONIT_2, "Monitor_pulse", ves_icall_System_Threading_Monitor_Monitor_pulse)
713 ICALL(MONIT_3, "Monitor_pulse_all", ves_icall_System_Threading_Monitor_Monitor_pulse_all)
714 ICALL(MONIT_4, "Monitor_test_owner", ves_icall_System_Threading_Monitor_Monitor_test_owner)
715 ICALL(MONIT_5, "Monitor_test_synchronised", ves_icall_System_Threading_Monitor_Monitor_test_synchronised)
716 ICALL(MONIT_6, "Monitor_try_enter", ves_icall_System_Threading_Monitor_Monitor_try_enter)
717 ICALL(MONIT_7, "Monitor_wait", ves_icall_System_Threading_Monitor_Monitor_wait)
718
719 ICALL_TYPE(MUTEX, "System.Threading.Mutex", MUTEX_1)
720 ICALL(MUTEX_1, "CreateMutex_internal(bool,string,bool&)", ves_icall_System_Threading_Mutex_CreateMutex_internal)
721 ICALL(MUTEX_2, "OpenMutex_internal(string,System.Security.AccessControl.MutexRights,System.IO.MonoIOError&)", ves_icall_System_Threading_Mutex_OpenMutex_internal)
722 ICALL(MUTEX_3, "ReleaseMutex_internal(intptr)", ves_icall_System_Threading_Mutex_ReleaseMutex_internal)
723
724 ICALL_TYPE(NATIVEC, "System.Threading.NativeEventCalls", NATIVEC_1)
725 ICALL(NATIVEC_1, "CloseEvent_internal", ves_icall_System_Threading_Events_CloseEvent_internal)
726 ICALL(NATIVEC_2, "CreateEvent_internal(bool,bool,string,bool&)", ves_icall_System_Threading_Events_CreateEvent_internal)
727 ICALL(NATIVEC_3, "OpenEvent_internal(string,System.Security.AccessControl.EventWaitHandleRights,System.IO.MonoIOError&)", ves_icall_System_Threading_Events_OpenEvent_internal)
728 ICALL(NATIVEC_4, "ResetEvent_internal",  ves_icall_System_Threading_Events_ResetEvent_internal)
729 ICALL(NATIVEC_5, "SetEvent_internal",    ves_icall_System_Threading_Events_SetEvent_internal)
730
731 ICALL_TYPE(SEMA, "System.Threading.Semaphore", SEMA_1)
732 ICALL(SEMA_1, "CreateSemaphore_internal(int,int,string,bool&)", ves_icall_System_Threading_Semaphore_CreateSemaphore_internal)
733 ICALL(SEMA_2, "OpenSemaphore_internal(string,System.Security.AccessControl.SemaphoreRights,System.IO.MonoIOError&)", ves_icall_System_Threading_Semaphore_OpenSemaphore_internal)
734 ICALL(SEMA_3, "ReleaseSemaphore_internal(intptr,int,bool&)", ves_icall_System_Threading_Semaphore_ReleaseSemaphore_internal)
735
736 ICALL_TYPE(THREAD, "System.Threading.Thread", THREAD_1)
737 ICALL(THREAD_1, "Abort_internal(object)", ves_icall_System_Threading_Thread_Abort)
738 ICALL(THREAD_2, "ClrState", ves_icall_System_Threading_Thread_ClrState)
739 ICALL(THREAD_3, "CurrentThread_internal", mono_thread_current)
740 ICALL(THREAD_4, "FreeLocalSlotValues", mono_thread_free_local_slot_values)
741 ICALL(THREAD_5, "GetCachedCurrentCulture", ves_icall_System_Threading_Thread_GetCachedCurrentCulture)
742 ICALL(THREAD_6, "GetCachedCurrentUICulture", ves_icall_System_Threading_Thread_GetCachedCurrentUICulture)
743 ICALL(THREAD_7, "GetDomainID", ves_icall_System_Threading_Thread_GetDomainID)
744 ICALL(THREAD_8, "GetName_internal", ves_icall_System_Threading_Thread_GetName_internal)
745 ICALL(THREAD_9, "GetSerializedCurrentCulture", ves_icall_System_Threading_Thread_GetSerializedCurrentCulture)
746 ICALL(THREAD_10, "GetSerializedCurrentUICulture", ves_icall_System_Threading_Thread_GetSerializedCurrentUICulture)
747 ICALL(THREAD_11, "GetState", ves_icall_System_Threading_Thread_GetState)
748 ICALL(THREAD_53, "Interrupt_internal", ves_icall_System_Threading_Thread_Interrupt_internal)
749 ICALL(THREAD_12, "Join_internal", ves_icall_System_Threading_Thread_Join_internal)
750 ICALL(THREAD_13, "MemoryBarrier", ves_icall_System_Threading_Thread_MemoryBarrier)
751 ICALL(THREAD_14, "ResetAbort_internal()", ves_icall_System_Threading_Thread_ResetAbort)
752 ICALL(THREAD_15, "Resume_internal()", ves_icall_System_Threading_Thread_Resume)
753 ICALL(THREAD_16, "SetCachedCurrentCulture", ves_icall_System_Threading_Thread_SetCachedCurrentCulture)
754 ICALL(THREAD_17, "SetCachedCurrentUICulture", ves_icall_System_Threading_Thread_SetCachedCurrentUICulture)
755 ICALL(THREAD_18, "SetName_internal", ves_icall_System_Threading_Thread_SetName_internal)
756 ICALL(THREAD_19, "SetSerializedCurrentCulture", ves_icall_System_Threading_Thread_SetSerializedCurrentCulture)
757 ICALL(THREAD_20, "SetSerializedCurrentUICulture", ves_icall_System_Threading_Thread_SetSerializedCurrentUICulture)
758 ICALL(THREAD_21, "SetState", ves_icall_System_Threading_Thread_SetState)
759 ICALL(THREAD_22, "Sleep_internal", ves_icall_System_Threading_Thread_Sleep_internal)
760 ICALL(THREAD_54, "SpinWait_internal", ves_icall_System_Threading_Thread_SpinWait_internal)
761 ICALL(THREAD_23, "Suspend_internal", ves_icall_System_Threading_Thread_Suspend)
762 ICALL(THREAD_24, "Thread_free_internal", ves_icall_System_Threading_Thread_Thread_free_internal)
763 ICALL(THREAD_25, "Thread_internal", ves_icall_System_Threading_Thread_Thread_internal)
764 ICALL(THREAD_26, "VolatileRead(byte&)", ves_icall_System_Threading_Thread_VolatileRead1)
765 ICALL(THREAD_27, "VolatileRead(double&)", ves_icall_System_Threading_Thread_VolatileRead8)
766 ICALL(THREAD_28, "VolatileRead(int&)", ves_icall_System_Threading_Thread_VolatileRead4)
767 ICALL(THREAD_29, "VolatileRead(int16&)", ves_icall_System_Threading_Thread_VolatileRead2)
768 ICALL(THREAD_30, "VolatileRead(intptr&)", ves_icall_System_Threading_Thread_VolatileReadIntPtr)
769 ICALL(THREAD_31, "VolatileRead(long&)", ves_icall_System_Threading_Thread_VolatileRead8)
770 ICALL(THREAD_32, "VolatileRead(object&)", ves_icall_System_Threading_Thread_VolatileReadIntPtr)
771 ICALL(THREAD_33, "VolatileRead(sbyte&)", ves_icall_System_Threading_Thread_VolatileRead1)
772 ICALL(THREAD_34, "VolatileRead(single&)", ves_icall_System_Threading_Thread_VolatileRead4)
773 ICALL(THREAD_35, "VolatileRead(uint&)", ves_icall_System_Threading_Thread_VolatileRead2)
774 ICALL(THREAD_36, "VolatileRead(uint16&)", ves_icall_System_Threading_Thread_VolatileRead2)
775 ICALL(THREAD_37, "VolatileRead(uintptr&)", ves_icall_System_Threading_Thread_VolatileReadIntPtr)
776 ICALL(THREAD_38, "VolatileRead(ulong&)", ves_icall_System_Threading_Thread_VolatileRead8)
777 ICALL(THREAD_39, "VolatileWrite(byte&,byte)", ves_icall_System_Threading_Thread_VolatileWrite1)
778 ICALL(THREAD_40, "VolatileWrite(double&,double)", ves_icall_System_Threading_Thread_VolatileWrite8)
779 ICALL(THREAD_41, "VolatileWrite(int&,int)", ves_icall_System_Threading_Thread_VolatileWrite4)
780 ICALL(THREAD_42, "VolatileWrite(int16&,int16)", ves_icall_System_Threading_Thread_VolatileWrite2)
781 ICALL(THREAD_43, "VolatileWrite(intptr&,intptr)", ves_icall_System_Threading_Thread_VolatileWriteIntPtr)
782 ICALL(THREAD_44, "VolatileWrite(long&,long)", ves_icall_System_Threading_Thread_VolatileWrite8)
783 ICALL(THREAD_45, "VolatileWrite(object&,object)", ves_icall_System_Threading_Thread_VolatileWriteIntPtr)
784 ICALL(THREAD_46, "VolatileWrite(sbyte&,sbyte)", ves_icall_System_Threading_Thread_VolatileWrite1)
785 ICALL(THREAD_47, "VolatileWrite(single&,single)", ves_icall_System_Threading_Thread_VolatileWrite4)
786 ICALL(THREAD_48, "VolatileWrite(uint&,uint)", ves_icall_System_Threading_Thread_VolatileWrite2)
787 ICALL(THREAD_49, "VolatileWrite(uint16&,uint16)", ves_icall_System_Threading_Thread_VolatileWrite2)
788 ICALL(THREAD_50, "VolatileWrite(uintptr&,uintptr)", ves_icall_System_Threading_Thread_VolatileWriteIntPtr)
789 ICALL(THREAD_51, "VolatileWrite(ulong&,ulong)", ves_icall_System_Threading_Thread_VolatileWrite8)
790 ICALL(THREAD_52, "current_lcid()", ves_icall_System_Threading_Thread_current_lcid)
791
792 ICALL_TYPE(THREADP, "System.Threading.ThreadPool", THREADP_1)
793 ICALL(THREADP_1, "GetAvailableThreads", ves_icall_System_Threading_ThreadPool_GetAvailableThreads)
794 ICALL(THREADP_2, "GetMaxThreads", ves_icall_System_Threading_ThreadPool_GetMaxThreads)
795 ICALL(THREADP_3, "GetMinThreads", ves_icall_System_Threading_ThreadPool_GetMinThreads)
796 ICALL(THREADP_4, "SetMinThreads", ves_icall_System_Threading_ThreadPool_SetMinThreads)
797
798 ICALL_TYPE(WAITH, "System.Threading.WaitHandle", WAITH_1)
799 ICALL(WAITH_1, "WaitAll_internal", ves_icall_System_Threading_WaitHandle_WaitAll_internal)
800 ICALL(WAITH_2, "WaitAny_internal", ves_icall_System_Threading_WaitHandle_WaitAny_internal)
801 ICALL(WAITH_3, "WaitOne_internal", ves_icall_System_Threading_WaitHandle_WaitOne_internal)
802
803 ICALL_TYPE(TYPE, "System.Type", TYPE_1)
804 ICALL(TYPE_1, "Equals", ves_icall_type_Equals)
805 ICALL(TYPE_2, "GetGenericParameterAttributes", ves_icall_Type_GetGenericParameterAttributes)
806 ICALL(TYPE_3, "GetGenericParameterConstraints_impl", ves_icall_Type_GetGenericParameterConstraints)
807 ICALL(TYPE_4, "GetGenericParameterPosition", ves_icall_Type_GetGenericParameterPosition)
808 ICALL(TYPE_5, "GetGenericTypeDefinition_impl", ves_icall_Type_GetGenericTypeDefinition_impl)
809 ICALL(TYPE_6, "GetInterfaceMapData", ves_icall_Type_GetInterfaceMapData)
810 ICALL(TYPE_7, "GetPacking", ves_icall_Type_GetPacking)
811 ICALL(TYPE_8, "GetTypeCode", ves_icall_type_GetTypeCodeInternal)
812 ICALL(TYPE_9, "GetTypeCodeInternal", ves_icall_type_GetTypeCodeInternal)
813 ICALL(TYPE_10, "IsArrayImpl", ves_icall_Type_IsArrayImpl)
814 ICALL(TYPE_11, "IsInstanceOfType", ves_icall_type_IsInstanceOfType)
815 ICALL(TYPE_12, "MakeGenericType", ves_icall_Type_MakeGenericType)
816 ICALL(TYPE_13, "MakePointerType", ves_icall_Type_MakePointerType)
817 ICALL(TYPE_14, "get_IsGenericInstance", ves_icall_Type_get_IsGenericInstance)
818 ICALL(TYPE_15, "get_IsGenericType", ves_icall_Type_get_IsGenericType)
819 ICALL(TYPE_16, "get_IsGenericTypeDefinition", ves_icall_Type_get_IsGenericTypeDefinition)
820 ICALL(TYPE_17, "internal_from_handle", ves_icall_type_from_handle)
821 ICALL(TYPE_18, "internal_from_name", ves_icall_type_from_name)
822 ICALL(TYPE_19, "make_array_type", ves_icall_Type_make_array_type)
823 ICALL(TYPE_20, "make_byref_type", ves_icall_Type_make_byref_type)
824 ICALL(TYPE_21, "type_is_assignable_from", ves_icall_type_is_assignable_from)
825 ICALL(TYPE_22, "type_is_subtype_of", ves_icall_type_is_subtype_of)
826
827 ICALL_TYPE(TYPEDR, "System.TypedReference", TYPEDR_1)
828 ICALL(TYPEDR_1, "ToObject",     mono_TypedReference_ToObject)
829 ICALL(TYPEDR_2, "ToObjectInternal",     mono_TypedReference_ToObjectInternal)
830
831 ICALL_TYPE(VALUET, "System.ValueType", VALUET_1)
832 ICALL(VALUET_1, "InternalEquals", ves_icall_System_ValueType_Equals)
833 ICALL(VALUET_2, "InternalGetHashCode", ves_icall_System_ValueType_InternalGetHashCode)
834
835 ICALL_TYPE(WEBIC, "System.Web.Util.ICalls", WEBIC_1)
836 ICALL(WEBIC_1, "GetMachineConfigPath", ves_icall_System_Configuration_DefaultConfig_get_machine_config_path)
837 ICALL(WEBIC_2, "GetMachineInstallDirectory", ves_icall_System_Web_Util_ICalls_get_machine_install_dir)
838
839 ICALL_TYPE(COMOBJ, "System.__ComObject", COMOBJ_1)
840 ICALL(COMOBJ_1, "CacheInterface", ves_icall_System_ComObject_CacheInterface)
841 ICALL(COMOBJ_2, "CreateRCW", ves_icall_System_ComObject_CreateRCW)
842 ICALL(COMOBJ_3, "Finalizer", ves_icall_System_ComObject_Finalizer)
843 ICALL(COMOBJ_4, "FindInterface", ves_icall_System_ComObject_FindInterface)
844 ICALL(COMOBJ_5, "GetIUnknown", ves_icall_System_ComObject_GetIUnknown)
845 ICALL(COMOBJ_6, "SetIUnknown", ves_icall_System_ComObject_SetIUnknown)
846