Class ComparisonTest::OperatorCallComparisonTest

A comparison test using a user-defined comparison operator, for example this == other on line 3 in

public class C {
  public static bool operator ==(C lhs, C rhs) => true;
  public bool Is(C other) => this == other;
}

Direct supertypes

Indirect supertypes

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