Skip to content
This repository was archived by the owner on Feb 22, 2020. It is now read-only.

Add and use HashCode polyfill #23

Merged
merged 4 commits into from
Dec 12, 2018
Merged

Add and use HashCode polyfill #23

merged 4 commits into from
Dec 12, 2018

Conversation

iamcarbon
Copy link
Contributor

This PR polyfills the HashCode implementation using the same logic as MathF.

@iamcarbon
Copy link
Contributor Author

PING @JimBobSquarePants

@JimBobSquarePants
Copy link
Member

Any idea what’s going wrong with the unit tests?

@iamcarbon
Copy link
Contributor Author

iamcarbon commented Dec 9, 2018

Oh, I'm dumb. Was running the tests against NETCORE2.1. Fix coming!

@iamcarbon
Copy link
Contributor Author

And fixed!

@iamcarbon
Copy link
Contributor Author

@JimBobSquarePants OK, I think all is well now. Made a super dumb mistake. :)

@iamcarbon
Copy link
Contributor Author

@JimBobSquarePants Do we even need the TypeForwardedFor attributes?

@JimBobSquarePants
Copy link
Member

Do we even need the TypeForwardedFor attributes?

As far as I'm aware they are an absolute requirement to prevent ambiguous reference exceptions.

@iamcarbon
Copy link
Contributor Author

Once this lands on MyGET, I'll do a pass on ImageSharp to get everything updated.

@JimBobSquarePants JimBobSquarePants merged commit da3c590 into SixLabors:master Dec 12, 2018
antonfirsov pushed a commit to SixLabors/ImageSharp that referenced this pull request Jan 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants