-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add the capability to walk up the inheritance chain for GetMemberWithSameMetadataDefinitionAs #69057
Conversation
Tagging subscribers to this area: @dotnet/area-system-reflection Issue DetailsIssue #67533 has a scenario where a
|
...Private.Reflection.Core/src/System/Reflection/Runtime/TypeInfos/RuntimeTypeInfo.GetMember.cs
Outdated
Show resolved
Hide resolved
Look for |
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.
Thanks!
This appears to have introduced #69136 |
I opened a pr to verify, feel free to resolve it some other way |
Issue #67533 has a scenario where a
MemberInfo
is in the parent of a type andnativeAOT
fails forGetMemberWithSameMetadataDefinitionAs
since it only checks the current type. The fix is to walk up the chain leveraging the existing caching mechanism.