Class OriginalBody
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
originalMethodBaseThe method body to clone.
Returns
- MethodInfo
A callable method with the same effective signature. Instance targets receive the instance as the first delegate argument.