JetBrains Rider 2024.1 Help

Code inspection: Redundant nullable directive

This inspection reports #nullable directives that do not change the current nullable-aware context. For example, it will report #nullable enable annotation as redundant if the nullability is enabled in the project file via the <Nullable>enable</Nullable> property, or if there is another #nullable enable annotation that precedes it in the same file.

Last modified: 27 May 2024