Trim async debugging when debugging feature is disabled (#40400)
authorMarek Safar <marek.safar@gmail.com>
Fri, 7 Aug 2020 09:03:27 +0000 (11:03 +0200)
committerGitHub <noreply@github.com>
Fri, 7 Aug 2020 09:03:27 +0000 (11:03 +0200)
src/libraries/System.Private.CoreLib/src/ILLink/ILLink.Substitutions.Shared.xml

index 81e98c3..9831ce9 100644 (file)
@@ -15,5 +15,8 @@
     <type fullname="System.Resources.ResourceReader">
       <method signature="System.Boolean InitializeBinaryFormatter()" body="stub" value="false" feature="System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization" featurevalue="false" />
     </type>
+    <type fullname="System.Threading.Tasks.Task" feature="System.Diagnostics.Debugger.IsSupported" featurevalue="false">
+      <field name="s_asyncDebuggingEnabled" value="false" initialize="false" />
+    </type>
   </assembly>
 </linker>