CodeQL library for C#
codeql/csharp-all 0.4.4 (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)