Replace DAMT.All with DAMT.AllMethods in delegate creation#109772
Replace DAMT.All with DAMT.AllMethods in delegate creation#109772MichalStrehovsky merged 1 commit intodotnet:mainfrom
Conversation
|
Note regarding the |
1 similar comment
|
Note regarding the |
|
Tagging subscribers to this area: @dotnet/area-system-reflection |
eerhardt
left a comment
There was a problem hiding this comment.
Looks good. Thanks!
Are there any upstream callers that can be changed from All to AllMethods? I’m not sure an easy way to check. It might be nice if the analyzer had an option to alert when you are preserving too much.
I did a search in this repo - we don't use these overloads.
Yup, would be a nice feature! Cc @dotnet/illink |
|
/ba-g the only not-known-issues are timeouts in unrelated tests |
DynamicallyAccessedMemberTypes.Allcan be replaced with the newly addedAllMethodssince it has the right semantics (keep privates in base types).Cc @dotnet/illink @eerhardt