Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Toub <stoub@microsoft.com>2019-05-09 19:40:16 +0300
committerMarek Safar <marek.safar@gmail.com>2019-05-10 11:51:17 +0300
commitb31b703b8932a95f79d1123c39ae35dc9cb727ef (patch)
tree6ef5c9e5e0f23c7825215b07eba0ce2548a8fe20 /netcore/System.Private.CoreLib/shared/System/Buffer.cs
parent5f41fb86be4cc1bcc3b65383d47d9d5ea605fcfe (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/Buffer.cs')
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Buffer.cs1
1 files changed, 0 insertions, 1 deletions
diff --git a/netcore/System.Private.CoreLib/shared/System/Buffer.cs b/netcore/System.Private.CoreLib/shared/System/Buffer.cs
index da62bc50b47..f2ffaaea85d 100644
--- a/netcore/System.Private.CoreLib/shared/System/Buffer.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Buffer.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
#if AMD64 || ARM64 || (BIT32 && !ARM)
#define HAS_CUSTOM_BLOCKS
#endif