Пример #1
0
 /// <summary>Serves as the default hash function. </summary>
 /// <returns>A hash code for the current object.</returns>
 public override int GetHashCode()
 {
     unchecked
     {
         return(((_schema != null ? _schema.GetHashCode() : 0) * 397) ^ (PropertyName != null ? PropertyName.GetHashCode() : 0));
     }
 }
Пример #2
0
 /// <summary>Serves as the default hash function. </summary>
 /// <returns>A hash code for the current object.</returns>
 public override int GetHashCode()
 {
     unchecked
     {
         var value = (_schema != null ? _schema.GetHashCode() : 0) * 397;
         return(value ^ (PropertyName != null ? PropertyName.GetHashCode() : 0));
     }
 }