Example #1
0
 /// <summary>
 ///     Serves as a hash function for a particular type.
 /// </summary>
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = ProcessPlus?.GetHashCode() ?? 0;
         hashCode = (hashCode * 397) ^ Handle.GetHashCode();
         return(hashCode);
     }
 }
Example #2
0
 /// <summary>
 ///     Serves as a hash function for a particular type.
 /// </summary>
 public override int GetHashCode()
 {
     return(Id.GetHashCode() ^ ProcessPlus.GetHashCode());
 }