Provide a desktop-only implementation of RuntimeThread.CurrentOSThreadId for Microsof...
authorBrian Robbins <brianrob@microsoft.com>
Wed, 1 Aug 2018 19:48:42 +0000 (12:48 -0700)
committerJan Kotas <jkotas@microsoft.com>
Wed, 1 Aug 2018 23:38:54 +0000 (16:38 -0700)
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/9700313f2684c784d025a638b0ae5de4ba2dcb00

src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs

index 9ebb103..653adc3 100644 (file)
@@ -181,6 +181,7 @@ using System.Security.Permissions;
 using System.Text;
 using System.Threading;
 using Microsoft.Win32;
+using Internal.Runtime.Augments;
 
 #if ES_BUILD_STANDALONE
 using EventDescriptor = Microsoft.Diagnostics.Tracing.EventDescriptor;
@@ -196,10 +197,6 @@ using Contract = System.Diagnostics.Contracts.Contract;
 using Contract = Microsoft.Diagnostics.Contracts.Internal.Contract;
 #endif
 
-#if CORECLR || ES_BUILD_PN
-using Internal.Runtime.Augments;
-#endif
-
 #if ES_BUILD_STANDALONE
 namespace Microsoft.Diagnostics.Tracing
 #else