It is wrong to assert that codeshares violate the Fly America Act for US government funded travel. It has been the case for many years that if a code share flight is sold on the US carrier's ticket stock with the US carrier's flight number, it is considered to be a US flight as the code share process was deemed to be in the US commercial carriers' interest. Thus, it is irrelevant when flying Washington to Frankfurt whether the flight is on United or Lufthansa as as long as the Lufthansa flight is sold with a UA flight number on UA ticket stock.