Table of Contents

Class TestClassComparer

Namespace
Xunit.v3
Assembly
xunit.v3.core.dll

An implementation of IEqualityComparer<T> for ITestClass. Compares the fully qualified names of the types.

public class TestClassComparer : IEqualityComparer<ITestClass?>
Inheritance
TestClassComparer
Implements
Inherited Members

Fields

Instance

The singleton instance of the comparer.

public static readonly TestClassComparer Instance

Field Value

TestClassComparer

Methods

Equals(ITestClass?, ITestClass?)

public bool Equals(ITestClass? x, ITestClass? y)

Parameters

x ITestClass
y ITestClass

Returns

bool

GetHashCode(ITestClass?)

public int GetHashCode(ITestClass? obj)

Parameters

obj ITestClass

Returns

int