Move runtime specific methods out of the runtime partition
authorJan Kotas <jkotas@microsoft.com>
Tue, 29 Oct 2019 20:52:38 +0000 (13:52 -0700)
committerJan Kotas <jkotas@microsoft.com>
Wed, 30 Oct 2019 03:55:59 +0000 (20:55 -0700)
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/f1ff212f4c2775d48b1a30cc0842ec9b42178ea8

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

index e55e81c..8ee2cc1 100644 (file)
@@ -588,25 +588,6 @@ namespace System.Diagnostics.Tracing
             // currently we do nothing, as that seems better than setting to Guid.Emtpy.
         }
 
-        // Assembly load runtime activity name
-        private const string AssemblyLoadName = "AssemblyLoad";
-
-        /// <summary>
-        /// Called by the runtime to start an assembly load activity
-        /// </summary>
-        private static void StartAssemblyLoad(ref Guid activityId, ref Guid relatedActivityId)
-        {
-            Instance.OnStart(NativeRuntimeEventSource.Log.Name, AssemblyLoadName, 0, ref activityId, ref relatedActivityId, EventActivityOptions.Recursive);
-        }
-
-        /// <summary>
-        /// Called by the runtime to stop an assembly load activity
-        /// </summary>
-        private static void StopAssemblyLoad(ref Guid activityId)
-        {
-            Instance.OnStop(NativeRuntimeEventSource.Log.Name, AssemblyLoadName, 0, ref activityId);
-        }
-
         /// <summary>
         /// Async local variables have the property that the are automatically copied whenever a task is created and used
         /// while that task is running.   Thus m_current 'flows' to any task that is caused by the current thread that