Blackmire.MainWindow.ProcessSolution C# (CSharp) Méthode

ProcessSolution() private méthode

private ProcessSolution ( Microsoft.CodeAnalysis.Solution solution ) : void
solution Microsoft.CodeAnalysis.Solution
Résultat void
    private async void ProcessSolution(Solution solution)
    {
      foreach (var project in solution.Projects.Where(p => p.Language.Equals("C#")))
      {
        foreach (var doc in project.Documents)
        {
          var tree = await doc.GetSyntaxTreeAsync();
          var root = (CompilationUnitSyntax)tree.GetRoot();
          
          foreach (var e in root.Members)
          {
            var nds = e as NamespaceDeclarationSyntax;
            if (nds != null)
            {
              
            }
          }
        }
      }
    }