fix(rules): rename IVisitor.VisitNotEquals parameter to match impls
Resolves SonarQube S927 x2 in ExpressionVisitor.cs. The interface parameter was named ``Equal`` on a ``VisitNotEquals`` method, which is semantically wrong and forced implementations to mismatch. Implementations already used ``notEqual``; rename the interface to match. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
41e98258bf
commit
986fdfc503
@@ -14,7 +14,7 @@ public interface IVisitor<out T>
|
||||
T VisitLiteral(Literal literalRule);
|
||||
|
||||
T VisitEquals(Equal Equal);
|
||||
T VisitNotEquals(NotEqual Equal);
|
||||
T VisitNotEquals(NotEqual notEqual);
|
||||
T VisitGreaterThan(GreaterThan GreaterThan);
|
||||
|
||||
T VisitAnd(And And);
|
||||
|
||||
Reference in New Issue
Block a user