Halides (Cl’, Br’ and I’) of alkaline earth metal(s) which cannot be dehydrated by heating is
(are):
The hydrated chloride, bromides and iodides of Ca, Sr and Ba can be dehydrated on heating but those of Be and Mg cannot be dehydrated as they undergo hydrolysis to form corresponding hydroxides.
So, Magnesium chloride forms Magnesium hydroxide and so on.