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(MethodDefinition)
Initializes a new empty method body.
protected MethodBody(MethodDefinition owner)
Parameters
owner
MethodDefinitionThe owner of the method body.
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
Owner
Gets the method that owns the method body.
public MethodDefinition Owner { get; }