From 23d3350922b0271b6cbe17dc9d1bf0b5afa73038 Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Wed, 13 Feb 2019 14:49:15 -0500 Subject: [PATCH] Fix netfx build break in Microsoft.Diagnostics.Tracing.EventSource.Redist Signed-off-by: dotnet-bot Commit migrated from https://github.com/dotnet/coreclr/commit/c52cbeff7da86b22c21c7deedf4f1804d183ffe6 --- .../src/System/Diagnostics/Tracing/StubEnvironment.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/StubEnvironment.cs b/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/StubEnvironment.cs index 981a100..95ae545 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/StubEnvironment.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/StubEnvironment.cs @@ -6,6 +6,9 @@ using System; using System.Collections.Generic; #if ES_BUILD_STANDALONE +using System.Runtime.InteropServices; +using System.Security; + namespace Microsoft.Diagnostics.Tracing.Internal #else namespace System.Diagnostics.Tracing.Internal @@ -327,9 +330,6 @@ namespace Microsoft.Reflection #if ES_BUILD_STANDALONE internal static partial class Interop { - using System.Runtime.InteropServices; - using System.Security; - [SuppressUnmanagedCodeSecurityAttribute()] internal static partial class Kernel32 { -- 2.7.4