Skip to content

Conversation

@wwh1004
Copy link
Contributor

@wwh1004 wwh1004 commented May 31, 2022

Fix #468
Also fix similar problems that existed before.

Includes:
Equals(IMethod, MethodBase)
Equals(IField, FieldInfo)
GetHashCode(IMethod)
GetHashCode(IField)
GetHashCode(MethodBase)
GetHashCode(FieldInfo)

Test code:
same as pr #466 but delete 'SigComparerOptions.CompareMethodFieldDeclaringType'

@wtfsck
Copy link
Contributor

wtfsck commented Jun 8, 2022

@CreateAndInject can you test if this fixes your issue?

@CreateAndInject
Copy link
Contributor

@CreateAndInject can you test if this fixes your issue?

Yes, it fixed.

@wtfsck
Copy link
Contributor

wtfsck commented Jun 9, 2022

Thanks, merging it now.

@wtfsck wtfsck merged commit ae6f88f into 0xd4d:master Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Equals but GetHashCode returns different values in #466

3 participants