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

◆ MoveToAttribute() [1/4]

override void System.Xml.Linq.XNodeReader.MoveToAttribute ( int index)
inlinevirtual

Reimplemented from System.Xml.XmlReader.

Definition at line 699 of file XNodeReader.cs.

700 {
701 if (!IsInteractive)
702 {
703 return;
704 }
705 if (index < 0)
706 {
707 throw new ArgumentOutOfRangeException("index");
708 }
710 if (elementInAttributeScope != null)
711 {
712 XAttribute xAttribute = elementInAttributeScope.lastAttr;
713 if (xAttribute != null)
714 {
715 do
716 {
717 xAttribute = xAttribute.next;
719 {
721 _parent = null;
722 return;
723 }
724 }
725 while (xAttribute != elementInAttributeScope.lastAttr);
726 }
727 }
728 throw new ArgumentOutOfRangeException("index");
729 }
bool IsDuplicateNamespaceAttribute(XAttribute candidateAttribute)
XElement GetElementInAttributeScope()
readonly bool _omitDuplicateNamespaces

References System.Xml.Linq.XNodeReader._omitDuplicateNamespaces, System.Xml.Linq.XNodeReader._parent, System.Xml.Linq.XNodeReader._source, System.Xml.Dictionary, System.Xml.Linq.XNodeReader.GetElementInAttributeScope(), System.index, System.Xml.Linq.XNodeReader.IsDuplicateNamespaceAttribute(), System.Xml.Linq.XNodeReader.IsInteractive, and System.Xml.Linq.XAttribute.next.