Upraviť

Zdieľať cez


MethodBodyStreamEncoder Struct

Definition

Provides an encoder for a method body stream.

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

Constructors

MethodBodyStreamEncoder(BlobBuilder)

Properties

Builder

Methods

AddMethodBody(InstructionEncoder, Int32, StandaloneSignatureHandle, MethodBodyAttributes)

Encodes a method body and adds it to the method body stream.

AddMethodBody(InstructionEncoder, Int32, StandaloneSignatureHandle, MethodBodyAttributes, Boolean)

Encodes a method body and adds it to the method body stream, using the provided instruction encoder, maximum stack size, local variables' signature handle, method body attributes, and allowing to indicate whether the method should allocate from the dynamic local memory pool or not.

AddMethodBody(Int32, Int32, Int32, Boolean, StandaloneSignatureHandle, MethodBodyAttributes)

Encodes a method body and adds it to the method body stream, using the provided code size, maximum stack size, number of exception regions, local variables' signature handle, method body attributes and allowing to indicate whether the exception regions should be encoded in small format or not.

AddMethodBody(Int32, Int32, Int32, Boolean, StandaloneSignatureHandle, MethodBodyAttributes, Boolean)

Encodes a method body and adds it to the method body stream, using the provided code size, maximum stack size, number of exception regions, local variables' signature handle, method body attributes, allowing to indicate whether the exception regions should be encoded in small format or not, and allowing to indicate whether the method should allocate from the dynamic local memory pool or not.

Applies to