int GetMaxBaseInterfaceDepth() { int max = 0; foreach (TypeReference baseType in _node.BaseTypes) { IType tag = TypeSystemServices.GetType(baseType); int depth = tag.GetTypeDepth(); if (depth > max) { max = depth; } } return max; }