Skip to content

Give equality hints like PowerAssert.NET #2

Description

@EamonNerbonne

From eamon.nerbonne on January 11, 2011 16:07:47

PowerAssert.NET gives hints when objects aren't "equal" in one sense but are in another: e.g. if == fails, then if .Equals or .SequenceEqual holds, this should be mentioned.

Original issue: http://code.google.com/p/expressiontocode/issues/detail?id=2

Activity

  1. EamonNerbonne commented on May 24, 2014

    @EamonNerbonne
    OwnerAuthor

    From eamon.nerbonne on January 11, 2011 07:08:08

    Labels: -Type-Defect Type-Enhancement

  2. EamonNerbonne commented on May 24, 2014

    @EamonNerbonne
    OwnerAuthor

    From eamon.nerbonne on March 31, 2011 02:30:52

    This would mean special casing to detect and deal with:

    !=
    object.Equals
    IEquatable.Equals
    EqualityComparer
    Enumerable.SequenceEquals
    IStructuralEquatable.Equals
    IStructuralComparable.CompareTo

    IComparable.CompareTo
    IComparable.CompareTo
    <

    <=

    IComparer.Compare
    IComparer.Compare

  3. removed their assignment
    on Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions