Boo.Lang.Compiler.TypeSystem.InternalInterface.GetMaxBaseInterfaceDepth C# (CSharp) 메소드

GetMaxBaseInterfaceDepth() 개인적인 메소드

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