Returns a signature helper for a method with a standard calling convention, given the method's module, return type, and argument types.
- mod
- The System.Reflection.Emit.ModuleBuilder that contains the method for which the SignatureHelper is requested.
- returnType
- The return type of the method, or null for a void return type (Sub procedure in Visual Basic).
- parameterTypes
- The types of the arguments of the method, or null if the method has no arguments.
The SignatureHelper object for a method.
This overload creates a signature with a standard calling convention.
To create a method signature with custom modifiers, use the SignatureHelper.GetMethodSigHelper(System.Reflection.Module, System.Reflection.CallingConventions, Type) method overload and then use the SignatureHelper.AddArgument(Type, Type[], Type[]) or SignatureHelper.AddArguments(Type[], Type[][], Type[][]) method overloads to add arguments with custom modifiers.