SignatureHeader Struct

Definition

Represents the signature characteristics specified by the leading byte of signature blobs.

public value class SignatureHeader : IEquatable<System::Reflection::Metadata::SignatureHeader>
public struct SignatureHeader : IEquatable<System.Reflection.Metadata.SignatureHeader>
type SignatureHeader = struct
Public Structure SignatureHeader
Implements IEquatable(Of SignatureHeader)
Inheritance
SignatureHeader
Implements

Remarks

This header byte is present in all method definition, method reference, standalone method, field, property, and local variable signatures, but not in type specification signatures.

Constructors

SignatureHeader(Byte)

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

SignatureHeader(SignatureKind, SignatureCallingConvention, SignatureAttributes)

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

Fields

CallingConventionOrKindMask

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

Properties

Attributes

Gets the signature attributes.

CallingConvention

Gets the calling convention.

HasExplicitThis

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

IsGeneric

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

IsInstance

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

Kind

Gets the signature kind.

RawValue

Gets the raw value of the header byte.

Methods

Equals(Object)

Compares the specified object with this SignatureHeader for equality.

Equals(SignatureHeader)

Compares two SignatureHeader values for equality.

GetHashCode()

Gets a hash code for the current object.

ToString()

Returns a string that represents the current object.

Operators

Equality(SignatureHeader, SignatureHeader)

Compares two SignatureHeader values for equality.

Inequality(SignatureHeader, SignatureHeader)

Determines whether two SignatureHeader values are unequal.

Applies to