Exemplo n.º 1
0
 public static int GetHashCode <T>(T obj)
 {
     return(DelegateCache <T> .GetHashCodeDelegate(obj));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Serves as the default hash function.
 /// </summary>
 /// <returns>
 /// A hash code for the current object.
 /// </returns>
 public override int GetHashCode()
 {
     return(DelegateCache.GetHashCodeDelegate((TSelf)this));
 }