Boo.Lang.Compiler.TypeSystem.InternalInterface.GetMaxBaseInterfaceDepth C# (CSharp) Method

GetMaxBaseInterfaceDepth() private method

private GetMaxBaseInterfaceDepth ( ) : int
return int
        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;
        }