diff options
author | Santiago Fernandez Madero <safern@microsoft.com> | 2019-06-25 20:19:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-25 20:19:28 -0700 |
commit | 5ad5f29d5e3009396c92047220255f36b33eddcf (patch) | |
tree | c5f46d17c8b0140ef3cb718244e88169a61ef2e5 /Directory.Build.props | |
parent | d344fff2f063aa242c41da6b4a5ee2ddb95e1d6a (diff) | |
download | coreclr-5ad5f29d5e3009396c92047220255f36b33eddcf.tar.gz coreclr-5ad5f29d5e3009396c92047220255f36b33eddcf.tar.bz2 coreclr-5ad5f29d5e3009396c92047220255f36b33eddcf.zip |
Tell the compiler to emit nullable attributes for public API only (#25398)
Diffstat (limited to 'Directory.Build.props')
-rw-r--r-- | Directory.Build.props | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Directory.Build.props b/Directory.Build.props index 917b9a84b6..a8222e9855 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -14,6 +14,6 @@ </PropertyGroup> <PropertyGroup> <!-- Enables Strict mode for Roslyn compiler --> - <Features>strict</Features> + <Features>strict;nullablePublicOnly</Features> </PropertyGroup> </Project> |