Skip to content

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

@icefoxz

Description

@icefoxz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions