public void Skip() { if (_emptyElemReadState == EmptyElemCompabilityState.EmptyElementEntered) { _emptyElemReadState = EmptyElemCompabilityState.EmptyElementRead; return; } V8CompatibleSkip(); CheckEmptyElementEntering(); }
private void CheckEmptyElementEntering() { _attributesLoopReset = false; if (_reader.IsEmptyElement) { _emptyElemReadState = EmptyElemCompabilityState.EmptyElementEntered; } else { _emptyElemReadState = EmptyElemCompabilityState.Off; } }
public bool Read() { if (_emptyElemReadState == EmptyElemCompabilityState.EmptyElementEntered) { _emptyElemReadState = EmptyElemCompabilityState.EmptyElementRead; return(true); } else { bool readingDone = _reader.Read(); CheckEmptyElementEntering(); return(readingDone); } }