Table of Contents

Class MethodBody

Namespace
AsmResolver.DotNet.Code
Assembly
AsmResolver.DotNet.dll

Represents a body of a method defined in a .NET assembly.

public abstract class MethodBody
Inheritance
MethodBody
Derived
Inherited Members

Constructors

MethodBody()

Initializes a new empty method body.

protected MethodBody()

Properties

Address

When this method is stored in a serialized module, gets or sets the reference to the beginning of the raw contents of the body.

public ISegmentReference? Address { get; set; }

Property Value

ISegmentReference

Owner

Gets the method that owns the method body.

public MethodDefinition? Owner { get; }

Property Value

MethodDefinition