Skip to content

Commit 51d98fb

Browse files
authored
Fix hash computation for MemberRef (#192)
***NO_CI***
1 parent d921d9f commit 51d98fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MetadataProcessor.Shared/Tables/nanoMethodReferenceTable.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public bool Equals(MethodReference lhs, MethodReference rhs)
4141
/// <inheritdoc/>
4242
public int GetHashCode(MethodReference that)
4343
{
44-
return that.MetadataToken.RID.GetHashCode();
44+
return that.MetadataToken.GetHashCode();
4545
}
4646
}
4747

0 commit comments

Comments
 (0)