diff options
author | Santiago Fernandez Madero <safern@microsoft.com> | 2019-06-26 06:19:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-26 06:19:28 +0300 |
commit | 95d11fcc50949df4c7266fff70882243157cbab7 (patch) | |
tree | 3218a99d81f6dbbfc3f4047f66ed82c7df9b8e98 /src/coreclr/Directory.Build.props | |
parent | 7fffe9e6268662982dc4739e1e8d0ee36e57b608 (diff) |
Tell the compiler to emit nullable attributes for public API only (dotnet/coreclr#25398)
Commit migrated from https://github.com/dotnet/coreclr/commit/5ad5f29d5e3009396c92047220255f36b33eddcf
Diffstat (limited to 'src/coreclr/Directory.Build.props')
-rw-r--r-- | src/coreclr/Directory.Build.props | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coreclr/Directory.Build.props b/src/coreclr/Directory.Build.props index 917b9a84b6d..a8222e98553 100644 --- a/src/coreclr/Directory.Build.props +++ b/src/coreclr/Directory.Build.props @@ -14,6 +14,6 @@ </PropertyGroup> <PropertyGroup> <!-- Enables Strict mode for Roslyn compiler --> - <Features>strict</Features> + <Features>strict;nullablePublicOnly</Features> </PropertyGroup> </Project> |