Add CreateFromPinnedArray to MemoryMarshal (#17500)
authorAhson Khan <ahkha@microsoft.com>
Wed, 11 Apr 2018 03:35:00 +0000 (20:35 -0700)
committerGitHub <noreply@github.com>
Wed, 11 Apr 2018 03:35:00 +0000 (20:35 -0700)
commit2ffcdd00249fd37e3c0d823df79ff19579028d66
treeee29693e4d9db60a4af95f413c87f784ed16599a
parentf76a563888f60798dc136b7d21c5be7440d78474
Add CreateFromPinnedArray to MemoryMarshal (#17500)

* Add CreateFromPinnedArray to MemoryMarshal

* Address PR feedback: Add a warning remark to CreateFromPinnedArray
src/mscorlib/shared/System/Memory.cs
src/mscorlib/shared/System/Runtime/InteropServices/MemoryMarshal.cs