summaryrefslogtreecommitdiff
path: root/src/System.Private.CoreLib/shared/System/Threading/ThreadPool.cs
diff options
context:
space:
mode:
authorStephen Toub <stoub@microsoft.com>2019-04-12 10:04:45 -0400
committerGitHub <noreply@github.com>2019-04-12 10:04:45 -0400
commita65921cc086c284ce9146a8bc62aecaac82a655e (patch)
tree83328199bb0c8ebcfea0ad18b672b956a7fabd8b /src/System.Private.CoreLib/shared/System/Threading/ThreadPool.cs
parentbc69ecd0169b49b7e40f64a42551176191086c6c (diff)
downloadcoreclr-a65921cc086c284ce9146a8bc62aecaac82a655e.tar.gz
coreclr-a65921cc086c284ce9146a8bc62aecaac82a655e.tar.bz2
coreclr-a65921cc086c284ce9146a8bc62aecaac82a655e.zip
Nullable: System.Runtime.CompilerServices (#23886)
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/Threading/ThreadPool.cs')
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/ThreadPool.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Threading/ThreadPool.cs b/src/System.Private.CoreLib/shared/System/Threading/ThreadPool.cs
index 4e6ff27e30..a1a1827d2c 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/ThreadPool.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/ThreadPool.cs
@@ -34,7 +34,7 @@ namespace System.Threading
public static readonly ThreadPoolWorkQueue workQueue = new ThreadPoolWorkQueue();
/// <summary>Shim used to invoke <see cref="IAsyncStateMachineBox.MoveNext"/> of the supplied <see cref="IAsyncStateMachineBox"/>.</summary>
- internal static readonly Action<object> s_invokeAsyncStateMachineBox = state =>
+ internal static readonly Action<object?> s_invokeAsyncStateMachineBox = state =>
{
if (!(state is IAsyncStateMachineBox box))
{