diff options
author | Stephen Toub <stoub@microsoft.com> | 2019-05-09 19:40:16 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2019-05-10 11:51:17 +0300 |
commit | b31b703b8932a95f79d1123c39ae35dc9cb727ef (patch) | |
tree | 6ef5c9e5e0f23c7825215b07eba0ce2548a8fe20 /netcore/System.Private.CoreLib/shared/System/Globalization/GregorianCalendarHelper.cs | |
parent | 5f41fb86be4cc1bcc3b65383d47d9d5ea605fcfe (diff) |
Turn on nullability for all of Corelib (dotnet/coreclr#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.
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Diffstat (limited to 'netcore/System.Private.CoreLib/shared/System/Globalization/GregorianCalendarHelper.cs')
-rw-r--r-- | netcore/System.Private.CoreLib/shared/System/Globalization/GregorianCalendarHelper.cs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/netcore/System.Private.CoreLib/shared/System/Globalization/GregorianCalendarHelper.cs b/netcore/System.Private.CoreLib/shared/System/Globalization/GregorianCalendarHelper.cs index 5889dcb2759..efa47fe273b 100644 --- a/netcore/System.Private.CoreLib/shared/System/Globalization/GregorianCalendarHelper.cs +++ b/netcore/System.Private.CoreLib/shared/System/Globalization/GregorianCalendarHelper.cs @@ -2,7 +2,6 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -#nullable enable using System; using System.Threading; |