From 9773db1e7b1acb3ec75c9cc0e36bd62dcbacd6d5 Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Thu, 9 May 2019 12:40:16 -0400 Subject: Turn on nullability for all of Corelib (#24497) * Enable nullable at the project level * Remove `#nullable enable` from individual files Removes `#nullable enable` from almost all .cs files in System.Private.CoreLib. I left it only in the ~30 files (out of ~1480 that had it) that are mirrored to corefx, that are built into projects by corefx that don't yet set NullableContextOptions at the project level, and that use nullable annotations; otherwise, they'd break the corefx build. --- .../shared/System/Threading/Tasks/ThreadPoolTaskScheduler.cs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/System.Private.CoreLib/shared/System/Threading/Tasks/ThreadPoolTaskScheduler.cs') diff --git a/src/System.Private.CoreLib/shared/System/Threading/Tasks/ThreadPoolTaskScheduler.cs b/src/System.Private.CoreLib/shared/System/Threading/Tasks/ThreadPoolTaskScheduler.cs index 05cb75bcbc..2473df26d0 100644 --- a/src/System.Private.CoreLib/shared/System/Threading/Tasks/ThreadPoolTaskScheduler.cs +++ b/src/System.Private.CoreLib/shared/System/Threading/Tasks/ThreadPoolTaskScheduler.cs @@ -11,7 +11,6 @@ // // =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -#nullable enable using System.Collections.Generic; using System.Diagnostics; -- cgit v1.2.3