private static IEnumerable <SyntaxNodeWrapper> ListDocumentMethodSyntaxes(CompilationUnitSyntax root) { var methodWalker = new MethodWalker(); methodWalker.Visit(root); return(methodWalker.AllMembers); }
public IEnumerable <IMethodInfoProvider> ListAllMethods() { var methodWalker = new MethodWalker(); ProcessCSharpSolutionDocuments( (latestForkedSolution, document, root) => { methodWalker.Visit(root); return(null); }); return(methodWalker.AllMembers.Select(RoslynMethodInfoProviderFactory.Create)); }