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

Remove/move internal vftbl types #1493

Merged
merged 7 commits into from
Feb 2, 2024

Conversation

Sergio0694
Copy link
Member

@Sergio0694 Sergio0694 commented Feb 1, 2024

This PR tweaks two vftbl types we had in the shared code:

  • Removes IActivationFactoryVftbl, as it was not needed (should also save minimal size)
  • Moves IReferenceTrackerTargetVftbl to WinRT.Runtime, as it's only needed internally now
  • Move IDelegateVftbl to WinRT.Runtime, only make it public downlevel (otherwise, internal)

@Sergio0694 Sergio0694 added code cleanup Code cleanup and refactoring trimming labels Feb 1, 2024
{
// This is internal both in the embedded case, but also if we're on modern .NET,
// because projections only use this vftbl type downlevel, and running older
// projections against a .NET version of CsWinRT is not supported.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// projections against a .NET version of CsWinRT is not supported.
// projections against a newer version of CsWinRT is not supported.

@Sergio0694 Sergio0694 merged commit 5861cf9 into staging/AOT Feb 2, 2024
1 check passed
@Sergio0694 Sergio0694 deleted the user/sergiopedri/remove-unused-vftbls branch February 2, 2024 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code cleanup Code cleanup and refactoring trimming
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants