Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MethodBodyStreamEncoder.MethodBody 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:
HeapIndex.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.

Describes a method body. This class is meant to used along with the MethodBodyStreamEncoder class.

public: value class MethodBodyStreamEncoder::MethodBody
public readonly struct MethodBodyStreamEncoder.MethodBody
public struct MethodBodyStreamEncoder.MethodBody
type MethodBodyStreamEncoder.MethodBody = struct
Public Structure MethodBodyStreamEncoder.MethodBody
Inheritance
MethodBodyStreamEncoder.MethodBody

Properties

Name Description
ExceptionRegions

Gets an encoder object that can be used to encode exception regions to the method body.

Instructions

Gets a blob reserved for instructions.

Offset

Gets the offset of the encoded method body in the method body stream.

Applies to


Feedback

Was this page helpful?