- name
- The name of the method. name cannot contain embedded nulls.
- attributes
- The attributes of the method. attributes must include System.Reflection.MethodAttributes.Static.
- returnType
- The return type of the method.
- parameterTypes
- The types of the method's parameters.
The defined global method.
The global method that this method defines is not usable until you call ModuleBuilder.CreateGlobalFunctions.
Starting with the net_v20sp1_long, this member no longer requires System.Security.Permissions.ReflectionPermission with the System.Security.Permissions.ReflectionPermissionFlag.ReflectionEmit flag. (See Security Issues in Reflection Emit.) To use this functionality, your application should target the net_v35_long or later.