private void FinishReadElementContentAsXxx() { if (this.NodeType != XmlNodeType.EndElement) { throw new XmlException(SR.Xml_InvalidNodeType, this.NodeType.ToString()); } this.Read(); }