/// <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))); }
/// <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)); }
/// <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))); }