This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
@@ -0,0 +1,29 @@
using System;
namespace System.Collections.Generic
{
// Token: 0x02000108 RID: 264
[Serializable]
internal sealed class GenericEqualityComparer<T> : EqualityComparer<T> where T : IEquatable<T>
{
// Token: 0x06000CF2 RID: 3314 RVA: 0x00039E14 File Offset: 0x00038014
public override int GetHashCode(T obj)
{
if (obj == null)
{
return 0;
}
return obj.GetHashCode();
}
// Token: 0x06000CF3 RID: 3315 RVA: 0x00039E30 File Offset: 0x00038030
public override bool Equals(T x, T y)
{
if (x == null)
{
return y == null;
}
return x.Equals(y);
}
}
}