Beispiel #1
0
        public static string GetDocComment(this CodeElement ce)
        {
            var commentStart = ce.GetCommentStartPoint();

            if (commentStart == null)
            {
                return("");
            }

            var comment = commentStart.GetText(ce.GetStartPoint());

            return(comment);
        }
        public static string GetDocComment(this CodeElement ce)
        {
            var commentStart = ce.GetCommentStartPoint();

            if (commentStart == null)
            {
                return("");
            }

            var comment = commentStart.GetText(ce.GetStartPoint(vsCMPart.vsCMPartWholeWithAttributes));

            return(comment);
        }