Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
icefoxz opened this issue Dec 30, 2022 · 0 comments
Open

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

icefoxz opened this issue Dec 30, 2022 · 0 comments

Comments

@icefoxz
Copy link

icefoxz commented Dec 30, 2022

例: 方法 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant