The rights and obligations owed to investors and shareholders in a company are ordinarily set forth in the investment agreement and bylaws of the presumed corporation that you have written about. As such, I recommend that you carefully read these documents and afterwards consult with a business attorney as to what rights you have as an investor/shareholder with respect to the corporation code of your state with respect to the pending sale of the company.