Skip to content

Commit 355e30c

Browse files
author
dse
committed
Build warnings fix.
1 parent 71095e6 commit 355e30c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/runtime/perf_utils/EncodingGetStringPolyfill.cs

+2-1
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)