Class DetourRuntimeILPlatform
Inheritance
System.Object
DetourRuntimeILPlatform
Assembly: MonoMod.RuntimeDetour.dll
public abstract class DetourRuntimeILPlatform : Object, IDetourRuntimePlatform
Constructors
Declaration
public DetourRuntimeILPlatform()
Fields
Declaration
protected Dictionary<MethodBase, DetourRuntimeILPlatform.MethodPin> PinnedMethods
Field Value
Methods
Declaration
public MethodInfo CreateCopy(MethodBase method)
Parameters
| Type |
Name |
Description |
| System.Reflection.MethodBase |
method |
|
Returns
| Type |
Description |
| System.Reflection.MethodInfo |
|
Declaration
public MethodBase GetDetourTarget(MethodBase from, MethodBase to)
Parameters
| Type |
Name |
Description |
| System.Reflection.MethodBase |
from |
|
| System.Reflection.MethodBase |
to |
|
Returns
| Type |
Description |
| System.Reflection.MethodBase |
|
Declaration
protected virtual IntPtr GetFunctionPointer(RuntimeMethodHandle handle)
Parameters
| Type |
Name |
Description |
| System.RuntimeMethodHandle |
handle |
|
Returns
| Type |
Description |
| System.IntPtr |
|
Declaration
protected abstract RuntimeMethodHandle GetMethodHandle(MethodBase method)
Parameters
| Type |
Name |
Description |
| System.Reflection.MethodBase |
method |
|
Returns
| Type |
Description |
| System.RuntimeMethodHandle |
|
Declaration
public IntPtr GetNativeStart(MethodBase method)
Parameters
| Type |
Name |
Description |
| System.Reflection.MethodBase |
method |
|
Returns
| Type |
Description |
| System.IntPtr |
|
Declaration
public void Pin(MethodBase method)
Parameters
| Type |
Name |
Description |
| System.Reflection.MethodBase |
method |
|
Declaration
protected virtual void PrepareMethod(RuntimeMethodHandle handle)
Parameters
| Type |
Name |
Description |
| System.RuntimeMethodHandle |
handle |
|
Declaration
public bool TryCreateCopy(MethodBase method, out MethodInfo dm)
Parameters
| Type |
Name |
Description |
| System.Reflection.MethodBase |
method |
|
| System.Reflection.MethodInfo |
dm |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public void Unpin(MethodBase method)
Parameters
| Type |
Name |
Description |
| System.Reflection.MethodBase |
method |
|
Implements