Skip to content
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

Merged
merged 2 commits into from
May 9, 2022

Conversation

LakshanF
Copy link
Contributor

@LakshanF LakshanF commented May 9, 2022

Issue #67533 has a scenario where a MemberInfo is in the parent of a type and nativeAOT fails for GetMemberWithSameMetadataDefinitionAs since it only checks the current type. The fix is to walk up the chain leveraging the existing caching mechanism.

@ghost
Copy link

ghost commented May 9, 2022

Tagging subscribers to this area: @dotnet/area-system-reflection
See info in area-owners.md if you want to be subscribed.

Issue Details

Issue #67533 has a scenario where a MemberInfo is in the parent of a type and nativeAOT fails since it only checks the current type. The fix is to walk up the chain leveraging the existing cache mechanism.

Author: LakshanF
Assignees: LakshanF
Labels:

area-System.Reflection

Milestone: -

@LakshanF LakshanF changed the title Add the capability to walk up the inheritance chain in reflection Add the capability to walk up the inheritance chain for GetMemberWithSameMetadataDefinitionAs May 9, 2022
@jkotas
Copy link
Member

jkotas commented May 9, 2022

Look for 67533 under libraries and delete the ActiveIssue attribute that is referencing it.

Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@lewing
Copy link
Member

lewing commented May 10, 2022

This appears to have introduced #69136

@lewing
Copy link
Member

lewing commented May 10, 2022

I opened a pr to verify, feel free to resolve it some other way

jkotas pushed a commit that referenced this pull request May 10, 2022
…mberWithSameMetadataDefinitionAs (#69057)" (#69137)

This reverts commit d0d7c30.
@ghost ghost locked as resolved and limited conversation to collaborators Jun 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants