Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ExitScope()

void System.Xml.XmlBaseReader.NamespaceManager.ExitScope ( )
inline

Definition at line 714 of file XmlBaseReader.cs.

715 {
716 while (_nsCount > 0)
717 {
718 Namespace @namespace = _namespaces[_nsCount - 1];
719 if (@namespace.Depth != _depth)
720 {
721 break;
722 }
723 if (@namespace.Prefix.TryGetShortPrefix(out var type))
724 {
725 _shortPrefixUri[(int)type] = @namespace.OuterUri;
726 }
727 _nsCount--;
728 }
729 while (_attributeCount > 0)
730 {
731 XmlAttribute xmlAttribute = _attributes[_attributeCount - 1];
732 if (xmlAttribute.Depth != _depth)
733 {
734 break;
735 }
737 _lang = xmlAttribute.XmlLang;
739 }
740 _depth--;
741 }

References System.Xml.XmlBaseReader.NamespaceManager._attributeCount, System.Xml.XmlBaseReader.NamespaceManager._attributes, System.Xml.XmlBaseReader.NamespaceManager._depth, System.Xml.XmlBaseReader.NamespaceManager._lang, System.Xml.XmlBaseReader.NamespaceManager._namespaces, System.Xml.XmlBaseReader.NamespaceManager._nsCount, System.Xml.XmlBaseReader.NamespaceManager._shortPrefixUri, System.Xml.XmlBaseReader.NamespaceManager._space, System.Xml.XmlBaseReader.Depth, System.Xml.Dictionary, System.Xml.XmlBaseReader.Prefix, System.type, and System.Xml.XmlBaseReader.NamespaceManager.XmlAttribute.XmlSpace.

Referenced by System.Xml.XmlBaseReader.ExitScope().