Parameters
Returnselement_class: element class rank: the dimension of the array class bounded: whenever the array has non-zero bounds
a class object describing the array with element type element_type and dimension rank.
Returns
NULL if the runtime will work with the corlib, or a g_malloc allocated string with the error otherwise.Remarks
Checks that the corlib that is loaded matches the version of this runtime.
Parameters
Remarksmethod: The method to compile.
This JIT-compiles the method, and returns the pointer to the native code produced.
Parameters
Returnsklass: The delegate class
the MonoMethod for the "Invoke" method in the delegate klass or NULL if klass is a broken delegate type
Returns
the root appdomain, to obtain the current domain, use mono_domain_get ()Remarks
The root AppDomain is the initial domain created by the runtime when it is initialized. Programs execute on this AppDomain, but can create new ones later. Currently there is no unmanaged API to create new AppDomains, this must be done from managed code.
Parameters
Returnsdomain_name: name to give to the initial domain filename: filename to load on startup
the initial domain.Remarks
Used by the runtime, users should use mono_jit_init instead. Creates the initial application domain and initializes the mono_defaults structure. This function is guaranteed to not run any IL code. The runtime is initialized using the runtime version required by the provided executable. The version is determined by looking at the exe configuration file and the version PE field)
Returns
the initial domain.Remarks
Creates the initial application domain and initializes the mono_defaults structure. This function is guaranteed to not run any IL code. The runtime is initialized using the default runtime version.
Returns
the initial domain.Remarks
Used by the runtime, users should use mono_jit_init instead.
Creates the initial application domain and initializes the mono_defaults structure. This function is guaranteed to not run any IL code. The runtime is initialized using the provided rutime version.
Parameters
Remarksassembly: reference to an assembly argc: argument count argv: argument vector
Start execution of a program.
Parameters
Remarksargc: number of arguments in the argv array argv: array of strings containing the startup arguments
Launches the Mono JIT engine and parses all the command line options in the same way that the mono command line VM would.
Parameters
Remarksdomain: unused.
Internal routine. This must not be called while there are still running threads executing managed code.
Returns
a MonoArray with the arguments passed to the main program
Parameters
Remarksdomain: domain returned by mono_init ()
Initialize the core AppDomain: this function will run also some IL initialization code, so it needs the execution engine to be fully operational. AppDomain.SetupInformation is set up in mono_runtime_exec_main, where we know the entry_assembly.
Remarks
Returns whether the runtime has been flagged for shutdown. This is consumed by the P:System.Environment.HasShutdownStarted property.
Parameters
Remarksmethod: 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
Execute a standard Main() method (argc/argv contains the executable name). This method also sets the command line argument value needed by System.Environment.