Пример #1
0
        void LoadSolutionContents(Solution sln)
        {
            loadedSlns.Add(sln);

            // Load all tags that are stored in pidb files
            foreach (Project p in sln.GetAllProjects())
            {
                ProjectDom pContext = ProjectDomService.GetProjectDom(p);
                if (pContext == null)
                {
                    continue;
                }
                foreach (ProjectFile file in p.Files)
                {
                    IList <Tag> tags = pContext.GetSpecialComments(file.Name);
                    if (tags != null && tags.Count > 0)
                    {
                        UpdateCommentTags(sln, file.Name, tags);
                    }
                }
            }
        }