Skip to content

Commit 5136c85

Browse files
author
dse
committed
Build warnings fix.
1 parent 06f4faa commit 5136c85

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/runtime/perf_utils/EncodingGetStringPolyfill.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66

77
namespace Python.Runtime
88
{
9+
#if !NETSTANDARD
910
/// <summary>
1011
/// This polyfill is thread unsafe.
1112
/// </summary>
12-
#if !NETSTANDARD
13+
[CLSCompliant(false)]
1314
public static class EncodingGetStringPolyfill
1415
{
1516
private static readonly MethodInfo PlatformGetStringMethodInfo =

0 commit comments

Comments
 (0)