Improved the MiCSManager class so that it now manipulates the original Roslyn AST to only include the mixed side code. It can map from Roslyn to ScriptSharp and generate a script text string. Except there is a small problem :-) in the GetMixedSideCompilationUnit(...) function it seems like the Add(...) function on SyntaxList doesn't work?