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

Class StaticEqualsCallComparisonTest

A comparison test using a static Equals or ReferenceEquals method call, for example object.Equals(x, y).

Import path

import semmle.code.csharp.commons.ComparisonTest

Direct supertypes

Indirect supertypes

Fields

Predicates

isReferenceEquals

Holds if this comparison uses ReferenceEquals.

Inherited predicates

getAnArgument

Gets an argument of this comparison test.

from ComparisonTest
getComparisonKind

Gets the comparison kind.

from ComparisonTest
getExpr

Gets the underlying expression.

from ComparisonTest
getFirstArgument

Gets the first argument of this comparison test.

from ComparisonTest
getLocation

Gets the location of this comparison test.

from ComparisonTest
getSecondArgument

Gets the second argument of this comparison test.

from ComparisonTest
toString

Gets a textual representation of this comparison test.

from ComparisonTest

Charpred