Code Analysis ReferenceFixesCS0472On this pageCS0472PropertyValueTitleThe result of the expression is always 'value1' since a value of type 'value2' is never equal to 'null' of type 'value3'.SeverityWarningCode FixesRemove condition that is always equal to true/falseSee AlsoOfficial Documentation