Constructor can never be complete

Last modified: 03 December 2024

Reports constructors with a non-null self-reference parameter.

Such constructors never instantiate a class.

The quick-fix converts the parameter type to nullable.

Example:

After the quick-fix is applied: