Description
When enabling the configuration binding source generator for a project where nullable types are used, compilation fails with an CS8600 error.
Project\src\Project\Microsoft.Extensions.Configuration.Binder.SourceGeneration\Microsoft.Extensions.Configuration.Binder.SourceGeneration.ConfigurationBindingGenerator\GeneratedConfigurationBinder.g.cs(1070,53): error CS8600: Converting null literal or possible null value to non-nullable type. [Project\src\Project\Project.csproj]
Reproduction Steps
- Clone and checkout any of the following commits:
- Run
build.ps1
Expected behavior
The applications compile and the tests pass.
Actual behavior
The applications fail to compile with CS8600 errors.
Regression?
No.
Known Workarounds
None.
Configuration
.NET SDK 8.0.100-preview.6.23330.14
Other information
No response
Description
When enabling the configuration binding source generator for a project where nullable types are used, compilation fails with an CS8600 error.
Reproduction Steps
build.ps1Expected behavior
The applications compile and the tests pass.
Actual behavior
The applications fail to compile with CS8600 errors.
Regression?
No.
Known Workarounds
None.
Configuration
.NET SDK 8.0.100-preview.6.23330.14
Other information
No response