Uredi

Deli z drugimi prek


MethodSignature<TType> Struct

Definition

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

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

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