Don't optimize away Task code needed for debugger (#17776)
authorChuck Ries <chuckr@microsoft.com>
Wed, 25 Apr 2018 23:06:49 +0000 (16:06 -0700)
committerJan Kotas <jkotas@microsoft.com>
Wed, 25 Apr 2018 23:06:49 +0000 (16:06 -0700)
commit54bdc1681c08cf9230561733d4728bc13cbc494e
tree4b54f6b9bc91f0b32fdd1150b1e024089b300f17
parentf522335bf390964e3a0aacf261aac922a74e4be2
Don't optimize away Task code needed for debugger (#17776)

This prevents the IL linker from optimizing away some properties/methods
related to tasks that are used by a debugger but are not referenced
anywhere else in coreclr.

This specifically fixes async callstack frames for the xplat C# debugger.
src/mscorlib/ILLinkTrim.xml