Code Inspection: Assignment in conditional expression
Comparison operators in a conditional expression are used much more often than assignment operators.
ReSharper assumes that you probably intended to test the identity of the operands, and suggests that you replace the assignment operator
= with the equality operator
After the quick-fix