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

Class ComparisonTest

A comparison test between two expressions.

Import path

import semmle.code.csharp.commons.ComparisonTest

Direct supertypes

Known direct subtypes

Predicates

getAnArgument

Gets an argument of this comparison test.

getComparisonKind

Gets the comparison kind.

getExpr

Gets the underlying expression.

getFirstArgument

Gets the first argument of this comparison test.

getLocation

Gets the location of this comparison test.

getSecondArgument

Gets the second argument of this comparison test.

toString

Gets a textual representation of this comparison test.