The provisions of the preceding sections from 7-305 to 7-314, both inclusive, apply to the proceedings for writ of prohibition.