csharp2json RoslynHelper.cs contains a helper function to parse and compile C# code and return object instances of all included C# class types.