public override void Visit(SyntaxNode node) { _syntaxGraph.AddNode(node); if (!(node == _syntaxTree.GetRoot())) { _syntaxGraph.AddEdge(node.Parent, node); } base.Visit(node); }
public override void VisitMethodDeclaration(MethodDeclarationSyntax node) { _callGraph.AddNode(node); base.VisitMethodDeclaration(node); }