Пример #1
0
 /// <summary>
 /// Returns a value indicating whether this instance is equal to a specified object.
 /// </summary>
 public bool Equals(RemoteThread other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     return(ReferenceEquals(this, other) || (Id == other.Id && MemorySharp.Equals(other.MemorySharp)));
 }
Пример #2
0
 /// <summary>
 ///     Returns a value indicating whether this instance is equal to a specified object.
 /// </summary>
 public bool Equals(RemoteRegion other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     return(ReferenceEquals(this, other) ||
            (BaseAddress.Equals(other.BaseAddress) && MemorySharp.Equals(other.MemorySharp) &&
             Information.RegionSize.Equals(other.Information.RegionSize)));
 }