Bring back Marshal.Read/Write overloads that takes object (dotnet/coreclr#11251)
authorYi Zhang (CLR) <yizhang82@users.noreply.github.com>
Sat, 29 Apr 2017 16:51:03 +0000 (09:51 -0700)
committerGitHub <noreply@github.com>
Sat, 29 Apr 2017 16:51:03 +0000 (09:51 -0700)
commitc3fabe1d650df1cf98f68cf76e15b12937c6dd84
treea29e5cabd81a4664f7b5d3499141c60eb0a86867
parent59ef5708c8289d5d3de22752f76d95909e2a8ac8
Bring back Marshal.Read/Write overloads that takes object (dotnet/coreclr#11251)

* Bring back desktop version of Marshal.Read/Write APIs that takes object and add a test

Commit migrated from https://github.com/dotnet/coreclr/commit/88779dc83763dc199ad1666282316d393473609d
src/coreclr/src/mscorlib/src/System/Runtime/InteropServices/Marshal.cs
src/coreclr/src/mscorlib/src/System/StubHelpers.cs
src/coreclr/tests/src/Interop/MarshalAPI/ReadWrite/ReadWriteObject.cs [new file with mode: 0644]
src/coreclr/tests/src/Interop/MarshalAPI/ReadWrite/ReadWriteObject.csproj [new file with mode: 0644]