public StaticFastInvokeHandler(Type classType, HarmonyLib.FastInvokeHandler invoker) { this.classType = classType; this.invoker = invoker; }
private static FastInvokeHandler ConvertFastInvokeHandler(HarmonyLib.FastInvokeHandler sourceDelegate) => (FastInvokeHandler)Delegate.CreateDelegate(typeof(FastInvokeHandler), sourceDelegate.Target, sourceDelegate.Method);