protected static IInvocationOperation GetInvocation(IBinaryOperation violation) { var result = UseStringEqualsOverStringCompare.GetInvocationFromEqualityCheckWithLiteralZero(violation); RoslynDebug.Assert(result is not null); return(result); }
public override bool IsMatch(IBinaryOperation violation) => UseStringEqualsOverStringCompare.IsStringStringStringComparisonCase(violation, Symbols);