Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a couple of corner cases in SignatureComparer.GetHashCode #512

Merged
merged 2 commits into from
Jan 3, 2024

Conversation

rstarkov
Copy link
Contributor

@rstarkov rstarkov commented Jan 1, 2024

Just fixing three instances of object.GetHashCode being called by mistake in GenericInstanceTypeSignature and CustomModifierTypeSignature. I had a few fields and methods in my assemblies where .Equals returned true (correctly) but .GetHashCode returned distinct hash codes.

@Washi1337 Washi1337 added the bug label Jan 3, 2024
@Washi1337 Washi1337 added this to the 5.6.0 milestone Jan 3, 2024
@Washi1337 Washi1337 merged commit ba4bcd2 into Washi1337:development Jan 3, 2024
1 check passed
@Washi1337
Copy link
Owner

Good catch, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants