public static void RegisterDelegateGenerater(SimpleScript.VM vm) { vm.RegisterDelegateGenerater(typeof(System.Func <int, int>), Gen_System_Func_2_System_Int32_System_Int32_); vm.RegisterDelegateGenerater(typeof(System.Action), Gen_System_Action); }