Uh oh!
There was an error while loading. Please reload this page.
Add trim analysis warnings for delegate creation - #92427
Conversation
The ILLink analyzer was not producing warnings for annotated methods, lambdas, or local functions accessed for delegate creation. Some ExpectedWarnings for ILLink/NativeAot were updated to avoid relying on the name of the compiler-generated methods for lambdas or local functions, because the analyzer reports the warnings as: IL2111: Method 'lambda expression' with parameters... is accessed via reflection.
ghost
commented
Sep 21, 2023
Tagging subscribers to this area: @dotnet/area-meta Issue DetailsThe ILLink analyzer was not producing warnings for annotated methods, lambdas, or local functions accessed for delegate creation. Some ExpectedWarnings for ILLink/NativeAot were updated to avoid relying on the name of the compiler-generated methods for lambdas or local functions, because the analyzer reports the warnings as: IL2111: Method 'lambda expression' with parameters... is accessed via reflection.
|
Uh oh!
There was an error while loading. Please reload this page.
vitek-karas
left a comment
There was a problem hiding this comment.
Other than the RUC question - this looks good.
sbomer
commented
Sep 25, 2023
@dotnet-policy-service rerun |
The ILLink analyzer was not producing warnings for annotated methods, lambdas, or local functions accessed for delegate creation.
Some ExpectedWarnings for ILLink/NativeAot were updated to avoid relying on the name of the compiler-generated methods for lambdas or local functions, because the analyzer reports the warnings as:
IL2111: Method 'lambda expression' with parameters... is accessed via reflection.
Fixes#84918