- name
- The method name.
- bindingAttr
- A combination of BindingFlags bit flags used to control the search.
- binder
- An object that implements Binder, containing properties related to this method.
- callConvention
- The calling convention for the method.
- types
- The parameter types of the method.
- modifiers
- An array of parameter modifiers used to make binding work with parameter signatures in which the types have been modified.
A method that is defined at the module level, and matches the specified criteria; or null if such a method does not exist.
This method provides the implementation for all overloads of the inherited erload:System.Reflection.Module.GetMethod method. Use the inherited erload:System.Reflection.Module.GetMethod method to get methods that have been declared at the module level. Module-level methods are defined in emitted code by using the erload:System.Reflection.Emit.ModuleBuilder.DefineGlobalMethod method.
Module-level methods cannot be retrieved until after the ModuleBuilder.CreateGlobalFunctions method has been called for the module.