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

Cache the InterfaceImplementation for the concrete type that requires the DIM to be kept in DefaultInterfaceImplementations cache #98782

Merged
merged 3 commits into from
Feb 23, 2024

Conversation

jtschuster
Copy link
Member

@jtschuster jtschuster commented Feb 21, 2024

Builds off #98513

Separated out the changes related to using the correct InterfaceImplementation in the DefaultInterfaceImplementations cache. Previously, we would cache the InterfaceImpl that pointed to the interface that provided the DIM. It should be the original type that created the need for the DIM.

@ghost ghost assigned jtschuster Feb 21, 2024
@jtschuster jtschuster changed the title Use the correct IfaceImpl in TypeMapInfo Use the correct InterfaceImpl in TypeMapInfo DefaultInterfaceImplementations cache Feb 22, 2024
@jtschuster jtschuster changed the title Use the correct InterfaceImpl in TypeMapInfo DefaultInterfaceImplementations cache Cache the InterfaceImplementation for the concrete type that requires the DIM to be kept in DefaultInterfaceImplementations cache Feb 22, 2024
@jtschuster jtschuster requested a review from sbomer February 22, 2024 22:38
@jtschuster jtschuster marked this pull request as ready for review February 22, 2024 22:38
Copy link
Member

@sbomer sbomer left a comment

Choose a reason for hiding this comment

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

Thank you!

@jtschuster jtschuster merged commit d676724 into dotnet:main Feb 23, 2024
73 of 76 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants