Example #1
0
File: Irt.cs Project: zrolfs/pwiz
 public override int GetHashCode()
 {
     unchecked
     {
         return((base.GetHashCode() * 397) ^ DatabasePath.GetHashCode());
     }
 }
Example #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         {
             return((base.GetHashCode() * 397) ^ (DatabasePath != null ? DatabasePath.GetHashCode() : 0));
         }
     }
 }
Example #3
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = base.GetHashCode();
         result = (result * 397) ^ DatabasePath.GetHashCode();
         result = (result * 397) ^ (_database != null ? _database.GetHashCode() : 0);
         return(result);
     }
 }
Example #4
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = base.GetHashCode();
         result = (result * 397) ^ DatabasePath.GetHashCode();
         // TODO: Get the code for getting a reference equality hashcode from Nick
         result = (result * 397) ^ (_database != null ? _database.GetHashCode() : 0);
         return(result);
     }
 }
 /// <summary>
 /// Serves as a hash function for a RealmConfiguration based on its path.
 /// </summary>
 /// <returns>A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a
 /// hash table.</returns>
 public override int GetHashCode()
 {
     return(DatabasePath.GetHashCode());
 }
 /// <summary>
 /// Serves as a hash function for a RealmConfiguration based on its path.
 /// </summary>
 /// <returns>A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a
 /// hash table.</returns>
 public override int GetHashCode() => DatabasePath.GetHashCode();