ReadEndElementIfNecessary method
Implementation
Future<void> ReadEndElementIfNecessary(
XmlNamespace xmlNamespace, String? localName) async {
if (!(this.IsStartElementWithNamespace(xmlNamespace, localName) &&
this.IsEmptyElement)) {
if (!this.IsEndElementWithNamespace(xmlNamespace, localName)) {
await this.ReadEndElementWithNamespace(xmlNamespace, localName);
}
}
}