private int CalculateDepthOfInheritance(TypeDeclarationSyntax type) { var analyzer = new DepthOfInheritanceAnalyzer(Model); return analyzer.Calculate(type); } }