In fact I don't really understand the "View Codeshares" option.
For exemple, if you select Air China, without showing codeshares, it does show the flight between GVA and ARN (CA 7093), which is... a codeshare flight.
In the box, CA appears in the "Airlines" field, not in the "codeshare" field...