Skip to content

RUC analyzer does not warn about delegate conversion #1912

@agocke

Description

@agocke

E.g.

[RequiresUnreferencedCode("")]
void M1() { }
void M2()
{
    Action a = M1; // should warn
    Action b = () => M1(); // should warn
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions