CodeQL library for C#
codeql/csharp-all 0.8.11-dev (changelog, source)
Search

Member predicate ValueOrRefType::getInheritanceDepth

Gets the depth of inheritance, which is the maximum distance from object in the type hierarchy. Types that are very deeply nested may be difficult to maintain.

int getInheritanceDepth()