Update certain Marshal APIs to match exception thrown on .NET Framework (#18791)
authorAaron Robinson <arobins@microsoft.com>
Thu, 5 Jul 2018 21:29:27 +0000 (14:29 -0700)
committerGitHub <noreply@github.com>
Thu, 5 Jul 2018 21:29:27 +0000 (14:29 -0700)
commitc32eff71383529355f85c83c3caee1953501e2e1
tree47e7b4146023144a6372aebbee7dae83d8c899ab
parentd9d56cccf7b972ee3986e1b8e5113c41df4323de
Update certain Marshal APIs to match exception thrown on .NET Framework (#18791)

Update certain Marshal APIs to match exception thrown on Desktop
src/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshal.cs
tests/src/Interop/MarshalAPI/ReadWrite/ReadWriteObject.cs