public MethodBase GenerateTrampoline(MethodBase signature = null) { if (!IsValid) { throw new InvalidOperationException("This hook has been undone."); } return(_Detour.GenerateTrampoline(signature)); }
public MethodBase GenerateTrampoline(MethodBase signature = null) { MethodBase remoteTrampoline = OnGenerateTrampoline?.InvokeWhileNull <MethodBase>(this, signature); if (remoteTrampoline != null) { return(remoteTrampoline); } return(_Detour.GenerateTrampoline(signature)); }
public MethodBase GenerateTrampoline(MethodBase signature = null) { return(_Detour.GenerateTrampoline(signature)); }