summaryrefslogtreecommitdiff
path: root/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/ActivityTracker.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/ActivityTracker.cs')
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/ActivityTracker.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/ActivityTracker.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/ActivityTracker.cs
index fde28527b4..7ef4523622 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/ActivityTracker.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/ActivityTracker.cs
@@ -606,7 +606,7 @@ namespace System.Diagnostics.Tracing
#endregion
}
-#if ES_BUILD_STANDALONE || ES_BUILD_PN
+#if ES_BUILD_STANDALONE
/******************************** SUPPORT *****************************/
/// <summary>
/// This is supplied by the framework. It is has the semantics that the value is copied to any new Tasks that is created
@@ -615,11 +615,7 @@ namespace System.Diagnostics.Tracing
/// only get your thread local copy which means that you never have races.
/// </summary>
///
-#if ES_BUILD_STANDALONE
[EventSource(Name = "Microsoft.Tasks.Nuget")]
-#else
- [EventSource(Name = "System.Diagnostics.Tracing.TplEtwProvider")]
-#endif
internal class TplEtwProvider : EventSource
{
public class Keywords