MethodSignature<TType> Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the MethodSignature<TType> structure using the specified header, return type, and parameter information.
public:
MethodSignature(System::Reflection::Metadata::SignatureHeader header, TType returnType, int requiredParameterCount, int genericParameterCount, System::Collections::Immutable::ImmutableArray<TType> parameterTypes);
public MethodSignature (System.Reflection.Metadata.SignatureHeader header, TType returnType, int requiredParameterCount, int genericParameterCount, System.Collections.Immutable.ImmutableArray<TType> parameterTypes);
new System.Reflection.Metadata.MethodSignature<'ype> : System.Reflection.Metadata.SignatureHeader * 'ype * int * int * System.Collections.Immutable.ImmutableArray<'ype> -> System.Reflection.Metadata.MethodSignature<'ype>
Public Sub New (header As SignatureHeader, returnType As TType, requiredParameterCount As Integer, genericParameterCount As Integer, parameterTypes As ImmutableArray(Of TType))
Parameters
- header
- SignatureHeader
The information in the leading byte of the signature (kind, calling convention, flags).
- returnType
- TType
The return type of the method.
- requiredParameterCount
- Int32
The number of required parameters.
- genericParameterCount
- Int32
The number of generic type parameters.
- parameterTypes
- ImmutableArray<TType>
The parameter types.