Track roslyn API changes.
Ported 'GenerateSwitchLabelsAction'.