Solvent-controlled selective transformation of 2-bromomethyl-2-methylaziridines to functionalized aziridines and azetidines.