Table of Contents

Constructor GetAsyncVariantRealDetourTargetArgs

Namespace
MonoMod.Core.Platforms
Assembly
MonoMod.Core.dll

GetAsyncVariantRealDetourTargetArgs(MethodBase, RuntimeMethodHandle, MethodBase, RuntimeMethodHandle, nint)

public GetAsyncVariantRealDetourTargetArgs(MethodBase From, RuntimeMethodHandle FromAsyncVariant, MethodBase To, RuntimeMethodHandle ToVariant, nint FromOrigEntrypointSlot)

Parameters

From MethodBase
The async method to detour from.
FromAsyncVariant RuntimeMethodHandle
The async variant of From being detoured.
To MethodBase
The method being detoured to.
ToVariant RuntimeMethodHandle
The variant of To being detoured to.
FromOrigEntrypointSlot nint
A pointer to a slot which, once the detour is configured, will hold a pointer to an entrypoint which invokes FromAsyncVariant (and not a clone).