CodeQL library for C#
codeql/csharp-all 3.1.1 (changelog, source)
Search

Predicate comparesIdenticalValues

Holds if comparison test ct compares two structurally identical expressions.

Import path

import semmle.code.csharp.commons.Constants
predicate comparesIdenticalValues(ComparisonTest ct)