Skip to content

GetHashCode failing for IPAddress #929

@josesimoes

Description

@josesimoes

Details about Problem

.NET nanoFramework library: mscorlib

Description

Running NetTest2_IPAddressBasic Unit Tests in System.Net fails when comparing two IPAddress.

Detailed repro steps so we can see the same problem

  1. Run NetTest2_IPAddressBasic in System.Net. Test fail if uncomment the Hash comparison.

  2. Run the same code in .NET. Hash comparison matches.

Other suggested things

Expected behaviour

Sample Project

Test project in .NET: https://dotnetfiddle.net/AyG4pK

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions