Use Guid ctor for TplEtwProvider (#16060)
authorBen Adams <thundercat@illyriad.co.uk>
Mon, 29 Jan 2018 16:43:09 +0000 (16:43 +0000)
committerStephen Toub <stoub@microsoft.com>
Mon, 29 Jan 2018 16:43:09 +0000 (11:43 -0500)
src/mscorlib/src/System/Threading/Tasks/TPLETWProvider.cs

index b666d2b..1214a8e 100644 (file)
@@ -59,7 +59,7 @@ namespace System.Threading.Tasks
         public static readonly TplEtwProvider Log = new TplEtwProvider();
 
         /// <summary>Prevent external instantiation.  All logging should go through the Log instance.</summary>
-        private TplEtwProvider() { }
+        private TplEtwProvider() : base(new Guid(0x2e5dba47, 0xa3d2, 0x4d16, 0x8e, 0xe0, 0x66, 0x71, 0xff, 0xdc, 0xd7, 0xb5), "System.Threading.Tasks.TplEventSource") { }
 
         /// <summary>Configured behavior of a task wait operation.</summary>
         public enum TaskWaitBehavior : int