protected void ReadCommentedGuidProperty(string curLine)
        {
            Match  m   = PBXRegex.KeyValue.Match(curLine.Trim());
            string key = m.Groups[1].Value.Trim();

            m_Properties[key] = CommentedGUID.ReadString(m.Groups[2].Value.Trim());
        }
        public void Read(string curLine, TextReader sr)
        {
            if (curLine.Trim() != "{")
            {
                throw new Exception("Wrong entry passed to ProjectReference.Read");
            }

            curLine = sr.ReadLine();
            while (curLine.Trim() != "}" && curLine.Trim() != "},")
            {
                Match m = PBXRegex.KeyValue.Match(curLine.Trim());
                if (m.Success)
                {
                    string key   = m.Groups[1].Value;
                    string value = m.Groups[2].Value;

                    if (key == "ProductGroup")
                    {
                        group = CommentedGUID.ReadString(value);
                    }
                    else if (key == "ProjectRef")
                    {
                        projectRef = CommentedGUID.ReadString(value);
                    }
                }
                curLine = sr.ReadLine();
            }
        }
        protected string ReadCommentedGuidListProperty(string curLine, TextReader sr)
        {
            Match  m    = PBXRegex.ListHeader.Match(curLine.Trim());
            string key  = m.Groups[1].Value.Trim();
            var    list = new List <string>();

            curLine = sr.ReadLine();
            while (curLine.Trim() != ");")
            {
                list.Add(CommentedGUID.ReadString(curLine));
                curLine = sr.ReadLine();
            }
            m_ListProperties[key] = list;
            return(curLine);
        }
 public void ReadFromSection(string curLine, TextReader sr)
 {
     guid = CommentedGUID.ReadString(curLine);
     ReadFromSectionImpl(curLine, sr);
 }