title: Syntax Analysis with MS Roslyn
body: <p>I have a litle but stupid problem. I started working with MS Roslyn, and I am trying to do the Walkthrough, but directly at the beginning an error occurred...</p>
  
  <blockquote>
    <p>error CS0117:  'Roslyn.Compilers.CSharp.SyntaxTree' does not contain a
    definition for 'ParseCompilationUnit'</p>
  </blockquote>
  
  <p>I do not understand why it occurred... maybe one of you had the same problem.</p>
  
  <p>My Sourceode:</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using Roslyn.Compilers;
  using Roslyn.Compilers.CSharp;
  using Roslyn.Services;
  using Roslyn.Services.CSharp;
  
  namespace gettingstarted2
  {
      class Program
      {
          static void Main(string[] args)
          {
              SyntaxTree tree = SyntaxTree.ParseCompilationUnit(
                  @"using System;
                  using System.Collections;
                  using System.Linq;
                  using System.Text;
  
                  namespace HelloWorld
                  {
                      class Program
                      {
                          static void Main(string[] args)
                          {
                              Console.WriteLine(""Hello, World!"");
                          }
                      }
                  }");
  
              var root = (CompilationUnitSyntax)tree.GetRoot();
  
          }
      }
  }
  </code></pre>