internal virtual void Close( WriteState currentState ) { Close(); } }
public override void Close() { _wrapped.Close(); if (_checkWellFormedDoc && !_hasDocElem) { // Need at least one document element throw new XmlException(SR.Xml_NoRoot, string.Empty); } }