From: Stephen Toub Date: Wed, 13 Feb 2019 19:49:15 +0000 (-0500) Subject: Fix netfx build break in Microsoft.Diagnostics.Tracing.EventSource.Redist X-Git-Tag: accepted/tizen/unified/20190813.215958~61^2~258 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c52cbeff7da86b22c21c7deedf4f1804d183ffe6;p=platform%2Fupstream%2Fcoreclr.git Fix netfx build break in Microsoft.Diagnostics.Tracing.EventSource.Redist Signed-off-by: dotnet-bot --- diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/StubEnvironment.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/StubEnvironment.cs index 981a100..95ae545 100644 --- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/StubEnvironment.cs +++ b/src/System.Private.CoreLib/shared/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 {