internal void WriteStreamingElement(XStreamingElement e) { FlushElement(); _element = e; Write(e.content); FlushElement(); _writer.WriteEndElement(); _resolver.PopScope(); }
internal void WriteStreamingElement(XStreamingElement e) { FlushElement(); _element = e; Write(e.content); bool contentWritten = _element == null; FlushElement(); if (contentWritten) { _writer.WriteFullEndElement(); } else { _writer.WriteEndElement(); } _resolver.PopScope(); }
private void WriteEndElement() { _writer.WriteEndElement(); _resolver.PopScope(); }
void WriteEndElement() { writer.WriteEndElement(); resolver.PopScope(); }