Add 'SetNotificationForWaitCompletion' to ILLinkTrim.xml (dotnet/coreclr#23822)
authorGregg Miskelly <greggm@microsoft.com>
Wed, 10 Apr 2019 02:17:39 +0000 (19:17 -0700)
committerStephen Toub <stoub@microsoft.com>
Wed, 10 Apr 2019 02:17:39 +0000 (22:17 -0400)
SetNotificationForWaitCompletion is meant to be func-eval'ed by the debugger to enable async step out. But this method was being removed by the IL linker. This adds it back.

Commit migrated from https://github.com/dotnet/coreclr/commit/9ddc4cfa7e0add5b09a0967c692fb1f2e9ebbe82

src/coreclr/src/System.Private.CoreLib/ILLinkTrim.xml

index 5820e2b..b621468 100644 (file)
@@ -15,6 +15,7 @@
       <property name="ParentForDebugger" />
       <property name="StateFlagsForDebugger" />
       <method name="GetDelegateContinuationsForDebugger" />
+      <method name="SetNotificationForWaitCompletion" />
     </type>
     <type fullname="System.Threading.ThreadPool">
       <method name="GetQueuedWorkItemsForDebugger" />
@@ -36,6 +37,7 @@
     </type>
     <type fullname="System.Runtime.CompilerServices.AsyncTaskMethodBuilder*">
       <property name="ObjectIdForDebugger" />
+      <method name="SetNotificationForWaitCompletion" />
     </type>
     <type fullname="System.Threading.Tasks.Task">
       <!-- Methods is used by VS Tasks Window. -->