Esempio n. 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 && ProcessPlus.Equals(other.ProcessPlus)));
 }
Esempio n. 2
0
 /// <summary>
 ///     Returns a value indicating whether this instance is equal to a specified object.
 /// </summary>
 public bool Equals(RemoteThread other)
 {
     if (other is null)
     {
         return(false);
     }
     return(ReferenceEquals(this, other) || Id == other.Id && _processPlus.Equals(other._processPlus));
 }
Esempio n. 3
0
 /// <summary>
 ///     Returns a value indicating whether this instance is equal to a specified object.
 /// </summary>
 public bool Equals(MemoryPointer other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     return(ReferenceEquals(this, other) ||
            (BaseAddress.Equals(other.BaseAddress) && Process.Equals(other.Process)));
 }