示例#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());
 }