Show / Hide Table of Contents

    Class DetourRuntimeILPlatform

    Inheritance
    System.Object
    DetourRuntimeILPlatform
    DetourRuntimeMonoPlatform
    DetourRuntimeNETPlatform
    Implements
    IDetourRuntimePlatform
    Namespace: MonoMod.RuntimeDetour.Platforms
    Assembly: MonoMod.RuntimeDetour.dll
    Syntax
    public abstract class DetourRuntimeILPlatform : Object, IDetourRuntimePlatform

    Constructors

    DetourRuntimeILPlatform()

    Declaration
    public DetourRuntimeILPlatform()

    Fields

    PinnedMethods

    Declaration
    protected Dictionary<MethodBase, DetourRuntimeILPlatform.MethodPin> PinnedMethods
    Field Value
    Type Description
    System.Collections.Generic.Dictionary<System.Reflection.MethodBase, DetourRuntimeILPlatform.MethodPin>

    Methods

    CreateCopy(MethodBase)

    Declaration
    public MethodInfo CreateCopy(MethodBase method)
    Parameters
    Type Name Description
    System.Reflection.MethodBase method
    Returns
    Type Description
    System.Reflection.MethodInfo

    GetDetourTarget(MethodBase, MethodBase)

    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

    GetFunctionPointer(RuntimeMethodHandle)

    Declaration
    protected virtual IntPtr GetFunctionPointer(RuntimeMethodHandle handle)
    Parameters
    Type Name Description
    System.RuntimeMethodHandle handle
    Returns
    Type Description
    System.IntPtr

    GetMethodHandle(MethodBase)

    Declaration
    protected abstract RuntimeMethodHandle GetMethodHandle(MethodBase method)
    Parameters
    Type Name Description
    System.Reflection.MethodBase method
    Returns
    Type Description
    System.RuntimeMethodHandle

    GetNativeStart(MethodBase)

    Declaration
    public IntPtr GetNativeStart(MethodBase method)
    Parameters
    Type Name Description
    System.Reflection.MethodBase method
    Returns
    Type Description
    System.IntPtr

    Pin(MethodBase)

    Declaration
    public void Pin(MethodBase method)
    Parameters
    Type Name Description
    System.Reflection.MethodBase method

    PrepareMethod(RuntimeMethodHandle)

    Declaration
    protected virtual void PrepareMethod(RuntimeMethodHandle handle)
    Parameters
    Type Name Description
    System.RuntimeMethodHandle handle

    TryCreateCopy(MethodBase, out MethodInfo)

    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

    Unpin(MethodBase)

    Declaration
    public void Unpin(MethodBase method)
    Parameters
    Type Name Description
    System.Reflection.MethodBase method

    Implements

    IDetourRuntimePlatform
    Back to top Yet another C# modding swiss army knife.