Proposal: Add switch for treating nullable-related warnings as errors #44721
Labels
Area-Compilers
Feature Request
New Language Feature - Nullable Reference Types
Nullable Reference Types
Resolution-Fixed
The bug has been fixed and/or the requested behavior has been implemented
Version Used: .NET 5 Preview 4
If I want to treat all nullable-related warnings as errors, I have to treat CS8597 to CS8714 which declared in
roslyn/src/Compilers/CSharp/Portable/Errors/ErrorCode.cs
Line 1639 in 3c1c0fc
I hope that there can have a switch to treat all nullable-related warnings as errors.
For example:
The text was updated successfully, but these errors were encountered: