32bit process may not throw on negative allocation (dotnet/corefx#36381)
authorTomas Weinfurt <tweinfurt@yahoo.com>
Tue, 26 Mar 2019 22:36:33 +0000 (15:36 -0700)
committerGitHub <noreply@github.com>
Tue, 26 Mar 2019 22:36:33 +0000 (15:36 -0700)
commit0db9c6867033a1767158eeeadbcf22f0208a1111
treed632121dc4ee6f28c81889d641dbcc0e21aecfc3
parent60731e8e5be6d206b650410438fff7265226e60e
32bit process may not throw on negative allocation (dotnet/corefx#36381)

Commit migrated from https://github.com/dotnet/corefx/commit/8c0f15cb5fa7919056f0882660556ead69fe9887
src/libraries/CoreFx.Private.TestUtilities/ref/CoreFx.Private.TestUtilities.cs
src/libraries/CoreFx.Private.TestUtilities/src/System/PlatformDetection.cs
src/libraries/System.Drawing.Common/tests/Imaging/EncoderParameterTests.cs