//----------------------------------------------- // Helper methods //----------------------------------------------- /// <summary> /// Write CData text if element is a CData element. Return true if text should be written /// within a CData section. /// </summary> private bool StartCDataSection() { Debug.Assert(!_inCDataSection); if (_lookupCDataElems != null && _bitsCData.PeekBit()) { _inCDataSection = true; return(true); } return(false); }