Not good.
Anyway, this foreigners are the first to go mentality is complete nonsense, the contract you signed is the only thing that counts.
If you signed a fixed term contract then fair enough, otherwise nationality is no issue. Or should we kick out all the foreigners we have in western countries in any industry every time a crisis hits?