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_version
NULL
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_assembly
mono_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_method
mono_free_verify_list
mono_get_config_dir
mono_get_corlib
MonoImage
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_full
mono_get_method
mono_get_root_domain
mono_lookup_internal_call
mono_lookup_pinvoke_call
mono_parse_default_optimizations
mono_ptr_class_get
mono_register_bundled_assemblies
mono_runtime_class_init
vtable | vtable that needs to be initialized |
mono_runtime_cleanup
domain | unused. |
mono_runtime_get_main_args
MonoArray
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_quit
mono_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