예제 #1
0
 public static int GetHashCode <T>(T obj)
 {
     return(DelegateCache <T> .GetHashCodeDelegate(obj));
 }
예제 #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));
 }