Add test to verify that DangerousRelease preserves Marshal.GetLastWin32Error (dotnet...
authorJan Kotas <jkotas@microsoft.com>
Fri, 1 Mar 2019 21:10:15 +0000 (13:10 -0800)
committerGitHub <noreply@github.com>
Fri, 1 Mar 2019 21:10:15 +0000 (13:10 -0800)
commit09e611cb7023c78ee85b7c84844f5540a4df374a
tree588163e7ed6254786f3c6739b5ea2dec9b0bcb86
parentbec7f26ec49c9c46b16bb651c9e66f8dda9567a4
Add test to verify that DangerousRelease preserves Marshal.GetLastWin32Error (dotnet/corefx#35612)

Commit migrated from https://github.com/dotnet/corefx/commit/d6db020cc7c66f95b0695e03b997936b3cf1f610
src/libraries/System.Runtime.Handles/tests/SafeHandle.cs