public static TypeBlockSyntax Find(string path, SyntaxTree tree) { var find = new FindLeaf(path); find.Visit(tree); return(find.Found); }
public static BaseTypeDeclarationSyntax Find(string path, SyntaxTree tree) { var find = new FindLeaf(path); find.Visit(tree); return(find.Found); }