Fixing Retain to return MemoryHandle with correct PinnedPointer (#14248)
authorAhson Ahmed Khan <ahsonkhan@users.noreply.github.com>
Fri, 29 Sep 2017 03:05:35 +0000 (20:05 -0700)
committerGitHub <noreply@github.com>
Fri, 29 Sep 2017 03:05:35 +0000 (20:05 -0700)
commiteab3a973346bf4bc5ddffc5201f862141a96b000
tree9aaddb47ca7642f0eccaac84cd0b30ecc74641de
parent591983b2b475f9d2a08e29b5640d6a70b124d816
Fixing Retain to return MemoryHandle with correct PinnedPointer (#14248)

* Fixing Retain to return MemoryHandle with correct PinnedPointer.

* Make MemoryHandle AddOffset internal.
src/mscorlib/shared/System/Buffers/MemoryHandle.cs
src/mscorlib/shared/System/Memory.cs
src/mscorlib/shared/System/ReadOnlyMemory.cs
src/mscorlib/src/System/ThrowHelper.cs