Ejemplo n.º 1
0
        public string DebugLog()
        {
            var iter = from item in Parameters select item.DebugLog();

            var param      = string.Join(", ", iter);
            var returnType = Return.DebugLog();

            if (ReturnIsPointer)
            {
                returnType += "*";
            }
            return(string.Format("{0} {1} ({2})", returnType, Name, param));
        }
Ejemplo n.º 2
0
        public string DebugLog()
        {
            if (Type == null)
            {
                return("");
            }
            var log = Type.DebugLog();

            if (IsPointer)
            {
                log += "*";
            }
            return(log + " " + Name);
        }