diff options
author | Stephen Toub <stoub@microsoft.com> | 2019-05-09 12:40:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-09 12:40:16 -0400 |
commit | 9773db1e7b1acb3ec75c9cc0e36bd62dcbacd6d5 (patch) | |
tree | 6aed846869895d687ad3f0b6014aa8cef8c8f229 /src/System.Private.CoreLib/shared/System/String.cs | |
parent | 42164199dd8edd5acb174c6d8a4b47546afc2894 (diff) | |
download | coreclr-9773db1e7b1acb3ec75c9cc0e36bd62dcbacd6d5.tar.gz coreclr-9773db1e7b1acb3ec75c9cc0e36bd62dcbacd6d5.tar.bz2 coreclr-9773db1e7b1acb3ec75c9cc0e36bd62dcbacd6d5.zip |
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.
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/String.cs')
-rw-r--r-- | src/System.Private.CoreLib/shared/System/String.cs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/shared/System/String.cs b/src/System.Private.CoreLib/shared/System/String.cs index d765bdd684..60a82de515 100644 --- a/src/System.Private.CoreLib/shared/System/String.cs +++ b/src/System.Private.CoreLib/shared/System/String.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.Buffers; using System.Collections; using System.Collections.Generic; |