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

Replace encoding polyfill with NET5+ one. #851

Merged
merged 1 commit into from
Feb 28, 2025

Conversation

Akarinnnnn
Copy link
Contributor

netstandard2.1 is a special TFM that .NET5+ doesn't mark themselves compitable, even if they mostly are.

netstandard2.1 is a special TFM that .NET5+ doesn't mark themselves compitable, even if they mostly are.
Copy link
Collaborator

@MihaZupan MihaZupan left a comment

Choose a reason for hiding this comment

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

Thanks, looks like this is the only such ifdef in the repo (a bunch of them could be simplified, but don't change compilation).

Shouldn't matter for perf since the inbox implementation is the same
https://github.com/dotnet/runtime/blob/2a51ee3fd10c2a5af5d44e710ef804813f73bf75/src/libraries/System.Private.CoreLib/src/System/Text/UTF8Encoding.cs#L365-L369

@xoofx xoofx merged commit abb19ec into xoofx:master Feb 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants