Test more invalid values for ThreadPool.[Unsafe]RegisterWaitForSingleObject (dotnet...
authorFilip Navara <filip.navara@gmail.com>
Wed, 6 Feb 2019 14:58:10 +0000 (15:58 +0100)
committerStephen Toub <stoub@microsoft.com>
Wed, 6 Feb 2019 14:58:10 +0000 (09:58 -0500)
commit74ab2476af044e11b7ddbbbfd7ca21e4f8823bb6
tree7dd4abe51f6fdd25e49f5766a087d58a8f4100dd
parent9b274ecdfd499dfacfcd8185ad417ad1ee7cccf4
Test more invalid values for ThreadPool.[Unsafe]RegisterWaitForSingleObject (dotnet/corefx#34818)

* Test more invalid values for ThreadPool.[Unsafe]RegisterWaitForSingleObject.

* Add checks for argument names in ArgumentOutOfRangeException.

* Disable failing test on NetFX.

Commit migrated from https://github.com/dotnet/corefx/commit/41948bf0fd29ad5b668f6479ae329c91aeb31f32
src/libraries/System.Threading.ThreadPool/tests/ThreadPoolTests.cs