Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 507eb16

Browse files
committed
Fix netfx build break in Microsoft.Diagnostics.Tracing.EventSource.Redist
1 parent ccad45f commit 507eb16

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Common/src/CoreLib/System/Diagnostics/Tracing/StubEnvironment.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
using System.Collections.Generic;
77

88
#if ES_BUILD_STANDALONE
9+
using System.Runtime.InteropServices;
10+
using System.Security;
11+
912
namespace Microsoft.Diagnostics.Tracing.Internal
1013
#else
1114
namespace System.Diagnostics.Tracing.Internal
@@ -327,9 +330,6 @@ public static bool ReflectionOnly(this Assembly assm)
327330
#if ES_BUILD_STANDALONE
328331
internal static partial class Interop
329332
{
330-
using System.Runtime.InteropServices;
331-
using System.Security;
332-
333333
[SuppressUnmanagedCodeSecurityAttribute()]
334334
internal static partial class Kernel32
335335
{

0 commit comments

Comments
 (0)