Address PR feedback
authorStephen Toub <stoub@microsoft.com>
Wed, 1 Feb 2017 22:10:33 +0000 (17:10 -0500)
committerStephen Toub <stoub@microsoft.com>
Wed, 1 Feb 2017 22:10:33 +0000 (17:10 -0500)
- Fix ArgumentNullException parameter name

Commit migrated from https://github.com/dotnet/coreclr/commit/473843bc02a89bbe7e9905fae40a0d048b7a9d06

src/coreclr/src/mscorlib/src/System/Threading/ThreadPool.cs

index f56a082..8bcdb9b 100644 (file)
@@ -1330,7 +1330,7 @@ namespace System.Threading
         {
             if (callBack == null)
             {
-                throw new ArgumentNullException(nameof(WaitCallback));
+                throw new ArgumentNullException(nameof(callBack));
             }
 
             //The thread pool maintains a per-appdomain managed work queue.