Disable nullable warnings for netstandard and netfx (dotnet/corefx#39636)
authorStephen Toub <stoub@microsoft.com>
Sat, 20 Jul 2019 12:47:08 +0000 (08:47 -0400)
committerGitHub <noreply@github.com>
Sat, 20 Jul 2019 12:47:08 +0000 (08:47 -0400)
Commit migrated from https://github.com/dotnet/corefx/commit/e64cac6dcacf996f98f0b3f75fb7ad0c12f588f7

src/libraries/System.Data.SqlClient/src/System.Data.SqlClient.csproj

index c86f734..c26e044 100644 (file)
@@ -3,7 +3,7 @@
     <ProjectGuid>{D4550556-4745-457F-BA8F-3EBF3836D6B4}</ProjectGuid>
     <AssemblyName>System.Data.SqlClient</AssemblyName>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <NoWarn>$(NoWarn);CS1573;</NoWarn>
+    <NoWarn>$(NoWarn);CS1573;nullable</NoWarn>
     <IsPartialFacadeAssembly Condition="'$(TargetsNetFx)' == 'true'">true</IsPartialFacadeAssembly>
     <IsUAPAssembly Condition="'$(TargetGroup)' == 'uap' OR '$(TargetGroup)' == 'uap10.0.16299'">true</IsUAPAssembly>
     <GeneratePlatformNotSupportedAssemblyMessage Condition="'$(OSGroup)' == 'AnyOS'">SR.PlatformNotSupported_DataSqlClient</GeneratePlatformNotSupportedAssemblyMessage>