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