Ourpalm / ILRuntime

Pure C# IL Intepreter Runtime, which is fast and reliable for scripting requirement on enviorments, where jitting isn't possible.
Other
2.99k stars 655 forks source link

不支持Lamda方法缩进写法 #745

Open icefoxz opened 1 year ago

icefoxz commented 1 year ago

例: 方法 Reg(Action<object> onInvokeAction); 传入的方法是 void InvokeMethod(object obj); 缩进写法可以直接写: Reg(InvokeMethod); //这样写会报错! Reg(obj=>InvokeMethod(obj)); //这样写不会.

ILRuntime Version Please fill in the version of ILRuntime you're currently using(package version or git commit hash or repository download date) 请填写使用的ILRuntime版本(package版本或Git提交号或下载日期) 2.1.0