Code inspection: Simplify negative equality expressionLast modified: 11 February 2024 Category: Common Practices and Code Improvements ID: NegativeEqualityExpression EditorConfig: resharper_negative_equality_expression_highlighting=[error|warning|suggestion|hint|none] Default severity: Suggestion Language: C# Requires SWA: NotipYou can suppress this inspection to ignore specific issues, change its severity level to make the issues less or more noticeable, or disable it altogether.Negating an equality expression is, effectively, the same as ‘flipping’ the equality operator from == to != or the other way around. That way, if you write !(a == b), JetBrains Rider will offer the option to change it to a != b.