void AddElementFoldToStackIfNotEmptyElement()
 {
     if (!_reader.IsEmptyElement)
     {
         var fold = new XmlElementFold();
         fold.ReadStart(_reader);
         _elementFoldStack.Push(fold);
     }
 }
 FoldingRegion CreateFoldingRegion(XmlElementFold fold)
 {
     return(fold.CreateFoldingRegionWithAttributes());
 }