From: Marek Safar Date: Fri, 18 Jan 2019 19:58:11 +0000 (+0100) Subject: Fix build X-Git-Tag: accepted/tizen/unified/20190422.045933~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1f3a1ebd25bce4eefa93e9d37d3f4feb29707b3e;p=platform%2Fupstream%2Fcoreclr.git Fix build Signed-off-by: dotnet-bot --- 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); } }