You need to ensure that you have enlisted and built Roslyn sources with VS2017 tag on your machine. For further guidance, refer to the recipe, Setting up Roslyn enlistment in Chapter 8, Contribute Simple Functionality to Roslyn C# Compiler Open Source Code.
Additionally, the following two git commits on your enlistment to get the syntax definitions and parser support, respectively, and build CSharpCodeAnalysis project: