Skip to content

Commit 2cab004

Browse files
committed
ignore obj.MetadataToken
1 parent 65b89a6 commit 2cab004

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Orm/Xtensive.Orm/Tuples/Packed/TupleLayout.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ private sealed class TypeReferenceEqualityComparer : IEqualityComparer<Type>
5858
{
5959
public static readonly TypeReferenceEqualityComparer Instance = new();
6060
public bool Equals(Type x, Type y) => ReferenceEquals(x, y);
61-
public int GetHashCode(Type obj) => obj.MetadataToken ^ obj.GetHashCode();
61+
public int GetHashCode(Type obj) => obj.GetHashCode();
6262
}
6363

6464
private static readonly Dictionary<Type, ValueFieldAccessor> TypeToAccessor = new(TypeReferenceEqualityComparer.Instance)

0 commit comments

Comments
 (0)