Code-Shares do not equal part of alliance. For example, American operates a flight from LA to Palm Springs that is a codeshare for Delta, Northwest, British, and a bunch of others - sometimes the list of code-shares is longer than the number of passengers on the flight.