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

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantiago Fernandez Madero <safern@microsoft.com>2019-06-26 06:19:28 +0300
committerGitHub <noreply@github.com>2019-06-26 06:19:28 +0300
commit95d11fcc50949df4c7266fff70882243157cbab7 (patch)
tree3218a99d81f6dbbfc3f4047f66ed82c7df9b8e98 /src/coreclr/Directory.Build.props
parent7fffe9e6268662982dc4739e1e8d0ee36e57b608 (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.props2
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>