I'm trying to build an automatic documentation with Roslyn. The application is composed of several sln solutions, several projects, one of them containing a library called by all the others. I want to built an array with the following columns : 1.filepath, 2.method or classname (list of all of them in the solutions),3.called method or classname,4.comments
My problem is that after one week and dozens of searches and tests, I'm not able to build the "method or classname called". I'm able to find methods and classes easily by looping IEnumerable ClassDeclarationSyntax items or IEnumerable MethodDeclarationSyntax items, get comments from trivia but I don't find how can I catch called methods/classes invocations for each of the calling one.
Any help will be appreciated Olivier