Move GetExceptionForHRInternal into common (#50085)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Tue, 23 Mar 2021 14:19:19 +0000 (15:19 +0100)
committerGitHub <noreply@github.com>
Tue, 23 Mar 2021 14:19:19 +0000 (07:19 -0700)
commitce0a530d7ed7392edb67c0fc1f0d27e1657ddafe
tree39801144e6a534d3065bdfea65023d630429bb80
parent184a5b103ca9fec1e7e7e0d3a411a6d15f1bb867
Move GetExceptionForHRInternal into common (#50085)

Deleted the HResults.S_OK and HResults.S_FALSE cases because those are handled by the caller. Didn't touch anything otherwise.
src/libraries/Common/src/System/HResults.cs
src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshal.cs
src/mono/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshal.Mono.cs