Skip to content

Conversation

Youssef1313
Copy link
Contributor

@Youssef1313 Youssef1313 commented Jan 25, 2025

Fixes #290

Copy link

@Evangelink Evangelink left a comment

Choose a reason for hiding this comment

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

This is fixing some issues we have noticed on MSTest and MTP products. Our initial idea was to do the following trick ourselves but @Youssef1313 found out that Roslyn is recommending to do this trick close to where you define the polyfill https://github.com/dotnet/roslyn/blob/main/docs%2Fcontributing%2Ftarget-framework-strategy.md#pattern-for-types

This should fix the problem in a global manner and transparently to your users.

@SimonCropp
Copy link
Owner

wow. that is some impressive detetive work.

@SimonCropp
Copy link
Owner

i think u need to update your branch from remote

@SimonCropp
Copy link
Owner

oh wait. i forgot to push something. give me 10 min

@SimonCropp
Copy link
Owner

ok do a sync now

@SimonCropp SimonCropp added this to the 7.14.0 milestone Jan 25, 2025
@SimonCropp SimonCropp merged commit 2ffa228 into SimonCropp:main Jan 25, 2025
1 of 2 checks passed
@Youssef1313 Youssef1313 deleted the type-forwarded-to branch January 25, 2025 07:10
@SimonCropp
Copy link
Owner

this is now deployed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Polyfill should produce TypeForwardedTo on TFMs where the type exists
3 participants