summaryrefslogtreecommitdiff
path: root/src/System.Private.CoreLib/System.Private.CoreLib.csproj
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Private.CoreLib/System.Private.CoreLib.csproj')
-rw-r--r--src/System.Private.CoreLib/System.Private.CoreLib.csproj1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/System.Private.CoreLib/System.Private.CoreLib.csproj b/src/System.Private.CoreLib/System.Private.CoreLib.csproj
index 9bc07880fa..9219d638f0 100644
--- a/src/System.Private.CoreLib/System.Private.CoreLib.csproj
+++ b/src/System.Private.CoreLib/System.Private.CoreLib.csproj
@@ -55,6 +55,7 @@
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!-- Remove CS8608 once https://github.com/dotnet/roslyn/issues/23268 is resolved -->
<NoWarn>649,1573,1591,0419,3021,CS8609</NoWarn>
+ <NullableContextOptions>enable</NullableContextOptions>
<!-- Ignore all previous constants since SPCL is sensitive to what is defined and the Sdk adds some by default -->
<DefineConstants>CORECLR;netcoreapp</DefineConstants>