I have a tiny roslyn based application for code formatting of VB.NET/C# projects based on a sample provided at codeplex. This application is a new version of older code formatter that I developed based on DTE in which I programmatically run Visual Studio command
Correct solution really is to use
CaseCorrector class which was intended to be
public as per comments in a roslyn bug report. So to address this issue now one has to make
CaseCorrector public, build roslyn locally and use the modified binaries.