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

Use the PolySharp package for polyfills #1364

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

0xced
Copy link
Contributor

@0xced 0xced commented Nov 11, 2023

PolySharp provides generated, source-only polyfills for C# language features, to easily use all runtime-agnostic features downlevel.

This replaces the need for the Nullable package and we can get rid of the manually added IsExternalInit polyfill.

Also, while I was touching the csproj and props file I standardised the way to import dev dependencies with the PrivateAssets="all" attribute.

I'm opening this as a draft pull request because I'm waiting for Sergio to answer Sergio0694/PolySharp#90.


Please upvote 👍 this pull request if you are interested in it.

[PolySharp][1] provides generated, source-only polyfills for C# language features, to easily use all runtime-agnostic features downlevel.

This replaces the need for the `Nullable` package and we can get rid of the manually added `IsExternalInit` polyfill.

Also, while I was touching the csproj and props file I standardised the way to import dev dependencies with the PrivateAssets="all" attribute.

[1]: https://github.com/Sergio0694/PolySharp/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐ top pull request Top pull request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant