ToPointerFix - VS debugger needs the ToPointer() methods to inspect a pointer, markin...
authorAndrew Au <andrewau@microsoft.com>
Fri, 7 Sep 2018 23:52:42 +0000 (16:52 -0700)
committerJan Kotas <jkotas@microsoft.com>
Mon, 10 Sep 2018 22:07:44 +0000 (15:07 -0700)
commit73979103ca8ff5cf6dab1d445a23645adbfd82f2
treebd2707a2fa538fdefc0004f8e60a179c32c551c9
parenta0b737364984d4daa14d6f800807b1ad87eced40
ToPointerFix - VS debugger needs the ToPointer() methods to inspect a pointer, marking it as DependencyReductionRoot to make sure it is not optimized away.

[tfs-changeset: 1713493]

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/4a5e35b67eeb6da3dad699269fb18d91780b8623
src/libraries/System.Private.CoreLib/src/System/IntPtr.cs
src/libraries/System.Private.CoreLib/src/System/UIntPtr.cs