示例#1
0
 public static void Prefix(ref ExecState __state, MethodBase __originalMethod)
 {
     //Mod.Log.Info?.Write($"PREFIX: {__originalMethod.Name}");
     ProfilePatches.Target target = new ProfilePatches.Target(__originalMethod.DeclaringType, __originalMethod);
     __state = new ExecState(target);
     __state.Start();
     ModState.StackDepth++;
 }