Beispiel #1
0
 public override int GetHashCode()
 {
     int result;
     result = IndexPropName.GetHashCode();
     result = 31 * result + CoercionType.GetHashCode();
     return result;
 }
Beispiel #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>
 /// <filterpriority>2</filterpriority>
 public override int GetHashCode()
 {
     unchecked
     {
         return
             (((IndexPropName != null ? IndexPropName.GetHashCode() : 0) * 397) ^
              (CoercionType != null ? CoercionType.GetHashCode() : 0));
     }
 }