Methods

Invoking Methods

mono_runtime_invoke

If you want to invoke generic methods, you must call the method on the "inflated" class, which you can obtain from the mono_object_get_class()
MonoClass *clazz; MonoMethod *method; clazz = mono_object_get_class (obj); /* * If there are more Add methods declared, you * may use mono_method_desc_search_in_class (clazz, ":Add(T)"), * you must substitute ":Add(T)" with the correct type, for example * for List<int>, you would use ":Add(int)". */ method = mono_class_get_method_from_name (clazz, "Add", 1); mono_runtime_invoke (method, obj, args, &exception);

mono_runtime_invoke_array

mono_remoting_invoke

mono_runtime_delegate_invoke

mono_method_call_message_new

mono_method_desc_free

mono_method_desc_from_method

mono_method_desc_full_match

mono_method_desc_match

mono_method_desc_new

mono_method_desc_search_in_class

mono_method_desc_search_in_image

mono_method_full_name

mono_method_get_class

mono_method_get_flags

mono_method_get_last_managed

mono_method_get_marshal_info

mono_method_get_name

mono_method_get_object

mono_method_get_param_names

mono_method_get_param_token

mono_method_get_signature

mono_method_get_index

mono_method_get_signature_full

mono_method_get_token

mono_method_get_wrapper_data

mono_method_has_marshal_info

mono_method_return_message_restore

mono_method_same_domain

mono_method_verify

Method Signatures

mono_method_signature

mono_signature_explicit_this

mono_signature_get_call_conv

mono_signature_get_desc

mono_signature_get_param_count

mono_signature_get_params

mono_signature_get_return_type

mono_signature_hash

mono_signature_is_instance

mono_signature_vararg_start

Methods Header Operations

mono_method_get_header

mono_method_header_get_clauses

mono_method_header_get_code

mono_method_header_get_locals

mono_method_header_get_num_clauses