Пример #1
0
 /// <summary>
 /// Serves as a hash function for a particular type.
 /// </summary>
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = (MemorySharp != null ? MemorySharp.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Handle.GetHashCode();
         return(hashCode);
     }
 }
Пример #2
0
 /// <summary>
 /// Serves as a hash function for a particular type.
 /// </summary>
 public override int GetHashCode()
 {
     return(BaseAddress.GetHashCode() ^ MemorySharp.GetHashCode() ^ Information.RegionSize.GetHashCode());
 }
Пример #3
0
 /// <summary>
 /// Serves as a hash function for a particular type.
 /// </summary>
 public override int GetHashCode()
 {
     return(Id.GetHashCode() ^ MemorySharp.GetHashCode());
 }