Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MethodSignature<TType> Struct

Definition

Namespace:
System.Reflection.Metadata
Assembly:
System.Reflection.Metadata.dll
Package:
System.Reflection.Metadata v11.0.0-preview.5.26302.115
Source:
MethodSignature.cs
Source:
MethodSignature.cs
Source:
MethodSignature.cs
Source:
MethodSignature.cs
Source:
MethodSignature.cs
Source:
MethodSignature.cs
Source:
MethodSignature.cs

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.

Represents a method (definition, reference, or standalone) or property signature. In the case of properties, the signature matches that of a getter with a distinguishing SignatureHeader.

generic <typename TType>
public value class MethodSignature
public readonly struct MethodSignature<TType>
public struct MethodSignature<TType>
type MethodSignature<'ype> = struct
Public Structure MethodSignature(Of TType)

Type Parameters

TType

The method type.

Inheritance
MethodSignature<TType>

Constructors

Name Description
MethodSignature<TType>(SignatureHeader, TType, Int32, Int32, ImmutableArray<TType>)

Initializes a new instance of the MethodSignature<TType> structure using the specified header, return type, and parameter information.

Properties

Name Description
GenericParameterCount

Gets the number of generic type parameters for the method.

Header

Gets the information in the leading byte of the signature (kind, calling convention, flags).

ParameterTypes

Gets the method's parameter types.

RequiredParameterCount

Gets the number of parameters that are required for the method.

ReturnType

Gets the return type of the method.

Applies to


Feedback

Was this page helpful?