-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Issue 66496 #66549
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
Issue 66496 #66549
Conversation
…for open generic type (dotnet#65237)" (dotnet#66508)" This reverts commit f99ba2e.
This change makes DynamicMethod.GetCustomAttributes() compatible with Attribute.GetCustomAttributes(). Fix dotnet#66496
Tagging subscribers to this area: @dotnet/area-system-reflection Issue DetailsRestore the reverted PR (https://github.com/dotnet/runtime/pull/65237/files) but this time handle DynamicMethod
|
The new test is failing on Mono:
|
@jkotas I spent some time looking into this and it seems to me that there is a bit of a web to untangle. TL;DR I set the test to skip on Mono. First off, unlike with coreclr Mono's attempt to support If we restrict the problem to just looking at calling In short, fixing either of these felt out of scope for the original problem; from what I can tell these are gaps/oddities in the Mono attribute functionality that are preexisting and not related to generic attributes at all. Thoughts? |
I agree with your assessment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Build failures unrelated and known issue, merging |
Restore the reverted PR (https://github.com/dotnet/runtime/pull/65237/files) but this time handle DynamicMethod
Fixes 66496