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.
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
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.
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 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
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
Remarkscfg: Control Flow Graph
Performs the ABC removal from a cfg in SSA form. It does the following: - Prepare the evaluation area - Allocate memory for the relation graph in the evaluation area (of course, only for variable definitions) and summarize there all variable definitions - Allocate memory for the evaluation contexts in the evaluation area - Recursively process all the BBs in the dominator tree (it is enough to invoke the processing on the entry BB)
cfg: the method code
Parameters
Remarksdomain: the application domain class_name: name of the remote class
Creates and initializes a MonoRemoteClass object for a remote type. Can raise an exception on failure.
Parameters
Remarksdomain: unused.
Internal routine. This must not be called while there are still running threads executing managed code.
Remarks
domain; domain where the method is hosted method: method to release This routine is invoked to free the resources associated with a method that has been JIT compiled. This is used to discard methods that were used only temporarily (for example, used in marshalling)
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.
Parameters
Remarksdomain: the application domain tproxy: the proxy whose remote class has to be upgraded. klass: class to which the remote class can be casted.
Updates the vtable of the remote class by adding the necessary method slots and interface offsets so it can be safely casted to klass. klass can be a class or an interface.