I think it depends what the magnesium is built into.
Yes, magnesium and bromine form an ionic compound known as magnesium bromide. Magnesium donates two electrons to bromine, resulting in the formation of an ionic bond between the two elements.
Magnesium oxide is ionic.
Magnesium carbonate is an ionic compound. It consists of magnesium ions (Mg2+) and carbonate ions (CO32-) held together by ionic bonds.
Magnesium hydroxide is an ionic compound, as it is composed of a metal cation (magnesium) and a hydroxide anion (OH-). Ionic compounds typically form when a metal reacts with a non-metal to transfer electrons.
Magnesium and iodine react to form the ionic compound magnesium iodide - MgI2.
Ionic
magnesium carbonate
Magnesium chloride is a compound, not a bond of any kind. The compound is ionic.
Magnesium oxide, or MgO, is an ionic compound: the result of a metal reacting with a non-metal.
Ionic
Ionic
ionic