RefactoringEssentials
RefactoringEssentials copied to clipboard
RECS0088 suggests to replace with 'true' when actually false
A very simple array equality comparison such as this:
new[] { 1, 2, 3 } == new[] { 1, 2, 3 }
produces this warning:
RECS0088: Replace with 'true'
But if you test that expression, it is actually false, since these are two different arrays.
It looks like that analyzer compares things it should not.