copied from BepInEx at https://github.com/BepInEx/HarmonyInteropDlls https://github.com/BepInEx/BepInEx.Harmony and modified for the ModTek use case: prefix calls do skip if original is being skipped