Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
MethodBodyStreamEncoder Struct
Definition
- Namespace:
- System.Reflection.Metadata.Ecma335
- Assembly:
- System.Reflection.Metadata.dll
- Package:
- System.Reflection.Metadata v11.0.0-preview.5.26302.115
- Source:
- MethodBodyStreamEncoder.cs
- Source:
- MethodBodyStreamEncoder.cs
- Source:
- MethodBodyStreamEncoder.cs
- Source:
- MethodBodyStreamEncoder.cs
- Source:
- MethodBodyStreamEncoder.cs
- Source:
- MethodBodyStreamEncoder.cs
- Source:
- MethodBodyStreamEncoder.cs
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Constructors
| Name | Description |
|---|---|
| MethodBodyStreamEncoder(BlobBuilder) | |
Properties
| Name | Description |
|---|---|
| Builder | |
Methods
| Name | Description |
|---|---|
| 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(InstructionEncoder, Int32, StandaloneSignatureHandle, MethodBodyAttributes) |
Encodes a method body and adds it to the method body stream. |
| 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. |
| 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. |
Applies to
Feedback
Was this page helpful?
