Fix netfx build break in Microsoft.Diagnostics.Tracing.EventSource.Redist
authorStephen Toub <stoub@microsoft.com>
Wed, 13 Feb 2019 19:49:15 +0000 (14:49 -0500)
committerJan Kotas <jkotas@microsoft.com>
Thu, 14 Feb 2019 21:34:56 +0000 (13:34 -0800)
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/StubEnvironment.cs

index 981a100..95ae545 100644 (file)
@@ -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
     {