Exemplo n.º 1
0
 public override int GetHashCode() => ComparableImplementations.ImplementGetHashCode(DefaultComparer, this);
Exemplo n.º 2
0
 /// <summary>
 /// Gets the hash code for this instance.
 /// </summary>
 /// <returns>The hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(ComparableImplementations.ImplementGetHashCode(DefaultComparer, (T)this));
 }
 /// <summary>
 /// Gets the hash code for this instance.
 /// </summary>
 /// <returns>The hash code for this instance.</returns>
 public override int GetHashCode()
 {
     Contract.Assume(DefaultComparer != null);
     return(ComparableImplementations.ImplementGetHashCode(DefaultComparer, (T)this));
 }