public override string ToString()
        {
            var declaration = Declaration.ToShortString();
            var bodyStart   = BodyStart.ToShortString();
            var bodyEnd     = BodyEnd.ToShortString();

            return($"Constructor:[{declaration}-{bodyStart}-{bodyEnd}]");
        }
示例#2
0
        public override string ToString()
        {
            string declaration = Decleration.ToShortString();
            string bodyStart   = BodyStart.ToShortString();
            string bodyEnd     = BodyEnd.ToShortString();

            return(string.Format("Method:[{0}-{1}-{2}]", declaration, bodyStart, bodyEnd));
        }