mono_bounded_array_class_get| element_class | element class |
| rank | the dimension of the array class |
| bounded | whenever the array has non-zero bounds |
mono_check_corlib_versionNULL if the runtime will work with the corlib, or a g_malloc
allocated string with the error otherwise.mono_compile_method| method | The method to compile. |
mono_config_for_assemblymono_dllmap_insert| assembly | if NULL, this is a global mapping, otherwise the remapping of the dynamic library will only apply to the specified assembly |
| dll | The name of the external library, as it would be found in the DllImport declaration. If prefixed with i: the matching of the library name is done without case sensitivity |
| func | if not null, the mapping will only applied to the named function (the value of EntryPoint) |
| tdll | The name of the library to map the specified dll if it matches. |
| tfunc | The name of the function that replaces the invocation. If NULL, it is replaced with a copy of func. |
DllImport remapping in either
a specific assembly, or as a global remapping. This is done by remapping
references in a DllImport attribute from the dll library name into the tdll
name. If the dll name contains the prefix i:, the comparison of the
library name is done without case sensitivity.
If you pass func, this is the name of the EntryPoint in a DllImport if specified
or the name of the function as determined by DllImport. If you pass func, you
must also pass tfunc which is the name of the target function to invoke on a match.
Example:
mono_dllmap_insert (NULL, "i:libdemo.dll", NULL, relocated_demo_path, NULL);
The above will remap DllImport statements for libdemo.dll and LIBDEMO.DLL to
the contents of relocated_demo_path for all assemblies in the Mono process.
NOTE: This can be called before the runtime is initialized, for example from
mono_config_parse.mono_free_methodmono_free_verify_listmono_get_config_dirmono_get_corlibMonoImage for mscorlib.dll
MonoImage* for the mscorlib.dll assemblymono_get_delegate_invoke| klass | The delegate class |
MonoMethod for the Invoke method in the delegate class or NULL if klass is a broken delegate type
mono_get_method_fullmono_get_methodmono_get_root_domainmono_lookup_internal_callmono_lookup_pinvoke_callmono_parse_default_optimizationsmono_ptr_class_getmono_register_bundled_assembliesmono_runtime_class_init| vtable | vtable that needs to be initialized |
mono_runtime_cleanup| domain | unused. |
mono_runtime_get_main_argsMonoArray with the arguments passed to the main program
mono_runtime_init| domain | domain returned by mono_init |
AppDomain.SetupInformation is set up in mono_runtime_exec_main, where
we know the entry_assembly.
mono_runtime_is_shutting_down| P | System.Environment.HasShutdownStarted property. |
mono_runtime_object_init| this_obj | the object to initialize |
mono_runtime_quitmono_runtime_run_main| method | the method to start the application with (usually Main) |
| argc | number of arguments from the command line |
| argv | array of strings from the command line |
| exc | excetption results |
Main method (argc / argv contains the
executable name). This method also sets the command line argument value
needed by System.Environment.mono_table_info_get_rows