Επεξεργασία

Κοινή χρήση μέσω


SignatureTypeEncoder Struct

Definition

Encodes a type in a signature.

public value class SignatureTypeEncoder
public readonly struct SignatureTypeEncoder
public struct SignatureTypeEncoder
type SignatureTypeEncoder = struct
Public Structure SignatureTypeEncoder
Inheritance
SignatureTypeEncoder

Constructors

SignatureTypeEncoder(BlobBuilder)

Creates a SignatureTypeEncoder.

Properties

Builder

The BlobBuilder where the signature is written to.

Methods

Array(Action<SignatureTypeEncoder>, Action<ArrayShapeEncoder>)

Encodes an array type.

Array(SignatureTypeEncoder, ArrayShapeEncoder)

Encodes an array type. Returns a pair of encoders that must be used in the order they appear in the parameter list.

Boolean()

Encodes Boolean.

Byte()

Encodes Byte.

Char()

Encodes Char.

CustomModifiers()

Starts a signature of a type with custom modifiers.

Double()

Encodes Double.

FunctionPointer(SignatureCallingConvention, FunctionPointerAttributes, Int32)

Starts a function pointer signature.

GenericInstantiation(EntityHandle, Int32, Boolean)

Starts a generic instantiation signature.

GenericMethodTypeParameter(Int32)

Encodes a reference to type parameter of a containing generic method.

GenericTypeParameter(Int32)

Encodes a reference to type parameter of a containing generic type.

Int16()

Encodes Int16.

Int32()

Encodes Int32.

Int64()

Encodes Int64.

IntPtr()

Encodes IntPtr.

Object()

Encodes Object.

Pointer()

Starts pointer signature.

PrimitiveType(PrimitiveTypeCode)

Writes primitive type code.

SByte()

Encodes SByte.

Single()

Encodes Single.

String()

Encodes String.

SZArray()

Starts SZ array (vector) signature.

Type(EntityHandle, Boolean)

Encodes a reference to a type.

TypedReference()

Encodes TypedReference.

UInt16()

Encodes UInt16.

UInt32()

Encodes UInt32.

UInt64()

Encodes UInt64.

UIntPtr()

Encodes UIntPtr.

VoidPointer()

Encodes a void pointer (void*).

Applies to