Add MemoryMarshal.AsRef implementation (dotnet/coreclr#19021)
authorJan Kotas <jkotas@microsoft.com>
Thu, 19 Jul 2018 15:29:36 +0000 (08:29 -0700)
committerGitHub <noreply@github.com>
Thu, 19 Jul 2018 15:29:36 +0000 (08:29 -0700)
commitd876665a8db891b65b9fadfcb05a9d910c1a0336
treef13c6db065fb29b1db2f8ac9a46d158d01e60132
parent9d2ee9d11bcb56482a686c9496bdc88123576963
Add MemoryMarshal.AsRef implementation (dotnet/coreclr#19021)

Contributes to https://github.com/dotnet/corefx/issues/30613

Commit migrated from https://github.com/dotnet/coreclr/commit/660d90405f322b0290170d1f947e53da484d81ad
src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/MemoryMarshal.Fast.cs
src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/MemoryMarshal.cs