Inspection Details

Boolean Assigned In If Else


Description
A member is assigned True/False in different branches of an if statement with no other statements in the conditional. Use the condition directly to the member instead.
Message
Boolean literal assignment in conditional
Type
Code Quality Issues
Default Severity
Warning

Back to List