Preserve AsyncValueTaskMethodBuilder.ObjectIdForDebugger (#39084)
authorEric Erhardt <eric.erhardt@microsoft.com>
Fri, 10 Jul 2020 20:53:12 +0000 (15:53 -0500)
committerGitHub <noreply@github.com>
Fri, 10 Jul 2020 20:53:12 +0000 (15:53 -0500)
These internal properties are used by the debugger, so they should be preserved when debugging is supported.

src/libraries/System.Private.CoreLib/src/ILLink/ILLink.Descriptors.Shared.xml

index 605c304..ad014dc 100644 (file)
       <property name="ObjectIdForDebugger" />
       <method name="SetNotificationForWaitCompletion" />
     </type>
+    <type fullname="System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder">
+      <property name="ObjectIdForDebugger" />
+    </type>
+    <type fullname="System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1">
+      <property name="ObjectIdForDebugger" />
+    </type>
     <type fullname="System.Threading.Tasks.Task">
       <!-- Methods is used by VS Tasks Window. -->
       <method name="GetActiveTaskFromId" />