示例#1
0
        public string ExtractCommentSection(string code, int startingIndex)
        {
            int start = code.IndexOf("/*", startingIndex);

            checked
            {
                string arg_45_0;
                if (start < 0)
                {
                    arg_45_0 = null;
                }
                else
                {
                    int end = code.IndexOf("*/", start + 2);
                    arg_45_0 = ((end >= 0) ? RuntimeServices.Mid(code, start + 2, end).Trim() : null);
                }
                return(arg_45_0);
            }
        }