Table of Contents

Class DynamicMethodDefinition

Namespace
AsmResolver.DotNet.Dynamic
Assembly
AsmResolver.DotNet.Dynamic.dll

Represents a single method in a type definition of a .NET module.

public class DynamicMethodDefinition : MethodDefinition, IOwnedCollectionElement<TypeDefinition>, IMemberRefParent, IMethodDefOrRef, ICustomAttributeType, IMethodDescriptor, IHasCustomAttribute, IHasGenericParameters, IMemberForwarded, IMemberDefinition, IMemberDescriptor, IFullNameProvider, IModuleProvider, IImportable, IHasSecurityDeclaration, IMetadataDefinition, IManagedEntryPoint, IMetadataMember, INameProvider
Inheritance
DynamicMethodDefinition
Implements
Inherited Members
Extension Methods

Constructors

DynamicMethodDefinition(ModuleDefinition, object)

Create a Dynamic Method Definition

public DynamicMethodDefinition(ModuleDefinition module, object dynamicMethodObj)

Parameters

module ModuleDefinition

Target Module

dynamicMethodObj object

Dynamic Method / Delegate / DynamicResolver

Properties

DeclaringModule

Gets the enclosing module that declares the object.

public override ModuleDefinition DeclaringModule { get; }

Property Value

ModuleDefinition

IsSupported

Determines whether dynamic method reading is fully supported in the current host's .NET environment.

public static bool IsSupported { get; }

Property Value

bool