I just upgraded a solution from .NET framework 4.8 to .NET 6. There are too many warnings, even after I enable nullable in project file
\<Nullable>enable\</Nullable>
Is it safe to suppress all of them?
Warning CS8600 Converting null literal or possible null value to non-nullable type.
Warning CS8601 Possible null reference assignment.
Warning CS8602 Dereference of a possibly null reference.
Warning CS8603 Possible null reference return.
Warning CS8604 Possible null reference argument for parameter
Warning CS8618 Non-nullable field '' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
Warning CS8622 Nullability of reference types in type of parameter 'state' of '' doesn't match the target delegate 'WaitCallback' (possibly because of nullability attributes).
Warning CS8625 Cannot convert null literal to non-nullable reference type.
even after enable nullable in project fileso enabling the validation of nullable makes you believe that the warnings for nullable go away?enableflag but introducing#nullable enablein individual files, or even individual sections, and introducing annotations before you introduce warnings. The docs have an article on how to go about this.