Skip to content
Concord

Class OriginalBody

Namespace
Concord.Emit
Assembly
Concord.Emit.dll

Creates callable clones of original target method bodies.

public static class OriginalBody
Inheritance
OriginalBody
Inherited Members

Methods

Clone(MethodBase)

Clones an original method into an unmanaged dynamic method that is not affected by Concord detours.

public static MethodInfo Clone(MethodBase original)

Parameters

original MethodBase

The method body to clone.

Returns

MethodInfo

A callable method with the same effective signature. Instance targets receive the instance as the first delegate argument.