From: Stephen Toub Date: Wed, 1 Feb 2017 22:10:33 +0000 (-0500) Subject: Address PR feedback X-Git-Tag: submit/tizen/20210909.063632~11030^2~8246^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d2dbc43b1a9ebf4998f1483d34c106b552fbb958;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Address PR feedback - Fix ArgumentNullException parameter name Commit migrated from https://github.com/dotnet/coreclr/commit/473843bc02a89bbe7e9905fae40a0d048b7a9d06 --- diff --git a/src/coreclr/src/mscorlib/src/System/Threading/ThreadPool.cs b/src/coreclr/src/mscorlib/src/System/Threading/ThreadPool.cs index f56a082..8bcdb9b 100644 --- a/src/coreclr/src/mscorlib/src/System/Threading/ThreadPool.cs +++ b/src/coreclr/src/mscorlib/src/System/Threading/ThreadPool.cs @@ -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.