The oxidation number of magnesium in magnesium chloride is?

The oxidation number of magnesium in magnesium chloride is?