Esempio n. 1
0
 /// <summary>
 /// Serves as a hash function for a particular type.
 /// </summary>
 /// <returns>
 /// A hash code for the current <see cref="T:System.Object"/>.
 /// </returns>
 public override int GetHashCode() => 397 ^ MappedFrom.GetHashCode() ^ MappedTo.GetHashCode();
Esempio n. 2
0
 /// <summary>
 /// Serves as a hash function for a particular type.
 /// </summary>
 /// <returns>
 /// A hash code for the current <see cref="T:System.Object"/>.
 /// </returns>
 public override int GetHashCode()
 {
     return(397 ^ MappedFrom.GetHashCode() ^ MappedTo.GetHashCode());
 }