Enable nullable=enable by default for anything except tests (#69256)
authorViktor Hofer <viktor.hofer@microsoft.com>
Thu, 12 May 2022 23:44:33 +0000 (01:44 +0200)
committerGitHub <noreply@github.com>
Thu, 12 May 2022 23:44:33 +0000 (18:44 -0500)
commitc37f6a26a31d3d7211017f7b9d1fe8540909b255
tree35a3e60db12fe8723e551ce2f94c9eba04947673
parent22162c7f58dbab11d85613e17dfac426f778afdc
Enable nullable=enable by default for anything except tests (#69256)

* Set nullable=enable for source generators

* Only add NullableAttribute.cs for C# projects

* Update Directory.Build.props
src/libraries/Directory.Build.props
src/libraries/Directory.Build.targets
src/libraries/Microsoft.Extensions.Logging.Abstractions/gen/Microsoft.Extensions.Logging.Generators.targets
src/libraries/System.Formats.Tar/ref/System.Formats.Tar.csproj
src/libraries/System.Formats.Tar/src/System.Formats.Tar.csproj
src/libraries/System.Private.CoreLib/gen/System.Private.CoreLib.Generators.csproj
src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/LibraryImportGenerator.csproj
src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Microsoft.Interop.SourceGeneration.csproj
src/libraries/System.Text.Json/gen/System.Text.Json.SourceGeneration.targets
src/libraries/System.Text.RegularExpressions/gen/System.Text.RegularExpressions.Generator.csproj