public override bool Equals(object o) { if (this == o) { return(true); } if (o == null || this.GetType() != o.GetType()) { return(false); } TestKernelTransactionHandle that = ( TestKernelTransactionHandle )o; return(_tx.Equals(that._tx)); }