List <DependencyRelation> FindDependencyRelations(CodeItem item) { var extension = item.GetExtension <CompilationUnitExtension>(); var dependencyFinder = new DependencyFinder(); extension.CompilationUnit.AcceptVisitor(dependencyFinder, null); return(dependencyFinder.DependencyRelations); }
List<DependencyRelation> FindDependencyRelations(CodeItem item) { var extension = item.GetExtension<CompilationUnitExtension>(); var dependencyFinder = new DependencyFinder(); extension.CompilationUnit.AcceptVisitor(dependencyFinder, null); return dependencyFinder.DependencyRelations; }