/// <summary> /// Returns a value indicating whether this instance is equal to a specified object. /// </summary> public bool Equals(ARemoteThread 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(AMemoryPointer other) { if (ReferenceEquals(null, other)) { return(false); } return(ReferenceEquals(this, other) || (BaseAddress.Equals(other.BaseAddress) && Process.Equals(other.Process))); }