Skip to content

Commit 9dac60d

Browse files
committed
Replace encoding polyfill with NET5+ one.
netstandard2.1 is a special TFM that .NET5+ doesn't mark themselves compitable, even if they mostly are.
1 parent 5b32391 commit 9dac60d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Markdig/Polyfills/EncodingExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// This file is licensed under the BSD-Clause 2 license.
33
// See the license.txt file in the project root for more information.
44

5-
#if !NETSTANDARD2_1_OR_GREATER
5+
#if !NETCOREAPP2_1_OR_GREATER && !NETSTANDARD2_1_OR_GREATER
66

77
using System.Runtime.InteropServices;
88

0 commit comments

Comments
 (0)