Handle the case where the Marshal.ThrowExceptionForHR is inlined in (dotnet/corefx...
authorAaron Robinson <arobins@microsoft.com>
Thu, 31 Jan 2019 01:03:40 +0000 (17:03 -0800)
committerStephen Toub <stoub@microsoft.com>
Thu, 31 Jan 2019 01:03:40 +0000 (20:03 -0500)
commit600b942f8952f586e34241a2f046e1e780b8837f
tree027ee0c86357791d551158b8b2149f8097846448
parent841886ddf029d92b529708989630fd816e796064
Handle the case where the Marshal.ThrowExceptionForHR is inlined in (dotnet/corefx#34968)

the test assembly and the Source isn't corlib.

Commit migrated from https://github.com/dotnet/corefx/commit/09bac5feb0e4c2a015102e021536a031b8d10ef4
src/libraries/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/Marshal/ThrowExceptionForHRTests.cs