Interface IDetourRuntimePlatform
Assembly: MonoMod.RuntimeDetour.dll
public interface IDetourRuntimePlatform
Methods
Declaration
MethodInfo CreateCopy(MethodBase method)
Parameters
Type |
Name |
Description |
System.Reflection.MethodBase |
method |
|
Returns
Type |
Description |
System.Reflection.MethodInfo |
|
Declaration
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
IntPtr GetNativeStart(MethodBase method)
Parameters
Type |
Name |
Description |
System.Reflection.MethodBase |
method |
|
Returns
Type |
Description |
System.IntPtr |
|
Declaration
void Pin(MethodBase method)
Parameters
Type |
Name |
Description |
System.Reflection.MethodBase |
method |
|
Declaration
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
void Unpin(MethodBase method)
Parameters
Type |
Name |
Description |
System.Reflection.MethodBase |
method |
|