summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2019-01-18 19:58:11 (GMT)
committerJan Kotas <jkotas@microsoft.com>2019-01-20 00:58:53 (GMT)
commit1f3a1ebd25bce4eefa93e9d37d3f4feb29707b3e (patch)
tree912981266803f7e929fe4882ced9c4eeba3fc2ad
parente73c16c3861b071eca336fedaf19326c3e123d97 (diff)
downloadcoreclr-1f3a1ebd25bce4eefa93e9d37d3f4feb29707b3e.zip
coreclr-1f3a1ebd25bce4eefa93e9d37d3f4feb29707b3e.tar.gz
coreclr-1f3a1ebd25bce4eefa93e9d37d3f4feb29707b3e.tar.bz2
Fix build
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
-rw-r--r--src/System.Private.CoreLib/shared/Internal/Threading/Tasks/AsyncCausalitySupport.cs2
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/System.Private.CoreLib/shared/Internal/Threading/Tasks/AsyncCausalitySupport.cs b/src/System.Private.CoreLib/shared/Internal/Threading/Tasks/AsyncCausalitySupport.cs
index 35f4dfe..ab3e52f 100644
--- a/src/System.Private.CoreLib/shared/Internal/Threading/Tasks/AsyncCausalitySupport.cs
+++ b/src/System.Private.CoreLib/shared/Internal/Threading/Tasks/AsyncCausalitySupport.cs
@@ -23,7 +23,7 @@ namespace Internal.Threading.Tasks
public static void RemoveFromActiveTasks(Task task)
{
if (Task.s_asyncDebuggingEnabled)
- Task.RemoveFromActiveTasks(task.Id);
+ Task.RemoveFromActiveTasks(task);
}
public static bool LoggingOn
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs
index f6692e8..5a78653 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs
@@ -722,7 +722,7 @@ namespace System.Runtime.CompilerServices
// only log if we have a real task that was previously created
if (System.Threading.Tasks.Task.s_asyncDebuggingEnabled)
{
- System.Threading.Tasks.Task.RemoveFromActiveTasks(m_task.Id);
+ System.Threading.Tasks.Task.RemoveFromActiveTasks(m_task);
}
}