Skip to content

Incorrect hashcode caching in Entity #7

Open
@CodesInChaos

Description

@CodesInChaos

Entity caches the hash code on the first call to GetHashCode(). This is a bug because the properties from which the hashcode is calculated can change thus rendering the cached hashcode invalid and violation the combined contract of Equals and GetHashCode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions