Replace encoding polyfill with NET5+ one.

netstandard2.1 is a special TFM that .NET5+ doesn't mark themselves compitable, even if they mostly are.
This commit is contained in:
Fa鸽
2025-02-24 10:49:59 +08:00
parent 5b32391348
commit 9dac60df73

View File

@@ -2,7 +2,7 @@
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
#if !NETSTANDARD2_1_OR_GREATER
#if !NETCOREAPP2_1_OR_GREATER && !NETSTANDARD2_1_OR_GREATER
using System.Runtime.InteropServices;