Wherever you book it, whenever it is operated by a different carrier, there is usually an annotation to this effect. On the Emirates site for example, if you chose EK5023 you would see "OPERATED BY EK 5023 QANTAS AIRWAYS" EK419 is an Emirates operated flight (and the Qantas codeshare is QF8419)