Ejemplo n.º 1
0
        public int CompareTo(Function other)
        {
            int ret = Name.CompareTo(other.Name);

            if (ret == 0)
            {
                ret = Parameters.CompareTo(other.Parameters);
            }
            if (ret == 0)
            {
                ret = ReturnType.CompareTo(other.ReturnType);
            }
            return(ret);
        }