Table of Contents

Method EnterLock

Namespace
MonoMod.RuntimeDetour
Assembly
MonoMod.RuntimeDetour.dll

EnterLock(ref bool)

Takes the lock for this method. The detour chain will not be modified by other threads while this is held.
public void EnterLock(ref bool lockTaken)

Parameters

lockTaken bool
A boolean which, when this method returns, holds whether or not the method took the lock and should release the lock in its finally block.