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