Skip to content

Collections that implement IEquatable<T> should be allowed to be compared with Assert.AreEqual #9971

Description

@RobSwDev

If I have an interface ISelf that implements IList<T> and also IEquatable<ISelf>, then it is perfectly reasonable to call Assert.AreEqual(iself1, iself2).

At the moment, we have to disable MSTEST0065 due to all the false positives.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions