Make GetHRForException to return e.HResult on non-Windows platforms (dotnet/coreclr...
authorJan Kotas <jkotas@microsoft.com>
Fri, 26 Aug 2016 01:14:28 +0000 (18:14 -0700)
committerGitHub <noreply@github.com>
Fri, 26 Aug 2016 01:14:28 +0000 (18:14 -0700)
commit440a189fb2afbf35967843c8ba07a787cf51fb96
treeb5c0fd854c4446544ae5f99d108cb8471e590a25
parente7f3e5c8b4771db7749a22975ff36fdb02db31d0
Make GetHRForException to return e.HResult on non-Windows platforms (dotnet/coreclr#6929)

Fixes https://github.com/dotnet/corefx/issues/11144

Commit migrated from https://github.com/dotnet/coreclr/commit/9caa82a7b334836b474a89188f2ffb0def582785
src/coreclr/src/mscorlib/src/System/Runtime/InteropServices/Marshal.cs
src/coreclr/src/mscorlib/src/System/Runtime/InteropServices/NonPortable.cs
src/coreclr/src/vm/ecalllist.h