class Test : IEquatable<T> // non-compliant
{
public bool Equals(Test other) => throw null;
}
class Test : IEquatable<T> // ok
{
public override bool Equals(object other) => throw null;
public bool Equals(Test other) => throw null;
}
class Test : IEquatable<T> // non-compliant
{
public bool Equals(Test other) => throw null;
}
class Test : IEquatable<T> // ok
{
public override bool Equals(object other) => throw null;
public bool Equals(Test other) => throw null;
}