<PackageReference Include="System.Reflection.Metadata" Version="11.0.0-preview.4.26230.115" />

System.Reflection.Metadata.SignatureHeader

Represents the signature characteristics specified by the leading byte of signature blobs.
public const byte CallingConventionOrKindMask = 15

Gets the mask value for the calling convention or signature kind. The default CallingConventionOrKindMask value is 15 (0x0F).

Gets the signature attributes.

Gets the calling convention.

public bool HasExplicitThis { get; }

Gets a value that indicates whether this SignatureHeader structure has the ExplicitThis signature attribute.

public bool IsGeneric { get; }

Gets a value that indicates whether this SignatureHeader structure has the Generic signature attribute.

public bool IsInstance { get; }

Gets a value that indicates whether this SignatureHeader structure has the Instance signature attribute.

public SignatureKind Kind { get; }

Gets the signature kind.

public byte RawValue { get; }

Gets the raw value of the header byte.

public SignatureHeader(byte rawValue)

Initializes a new instance of the SignatureHeader structure using the specified byte value.

Initializes a new instance of the SignatureHeader structure using the specified signature kind, calling convention and signature attributes.

public static bool op_Equality(SignatureHeader left, SignatureHeader right)

Compares two SignatureHeader values for equality.

public static bool op_Inequality(SignatureHeader left, SignatureHeader right)

Determines whether two SignatureHeader values are unequal.

public bool Equals(SignatureHeader other)

Compares two SignatureHeader values for equality.