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

◆ MoveToAttribute() [1/4]

override void System.Xml.XmlSubtreeReader.MoveToAttribute ( int i)
inlinevirtual

Reimplemented from System.Xml.XmlReader.

Definition at line 367 of file XmlSubtreeReader.cs.

368 {
370 {
371 throw new ArgumentOutOfRangeException("i");
372 }
373 int attributeCount = reader.AttributeCount;
374 if (i < attributeCount)
375 {
377 _curNsAttr = -1;
378 _useCurNode = false;
379 return;
380 }
381 if (i - attributeCount < _nsAttrCount)
382 {
383 MoveToNsAttribute(i - attributeCount);
384 return;
385 }
386 throw new ArgumentOutOfRangeException("i");
387 }
bool MoveToAttribute(string name)

References System.Xml.XmlSubtreeReader._curNsAttr, System.Xml.XmlSubtreeReader._nsAttrCount, System.Xml.XmlSubtreeReader._useCurNode, System.Xml.XmlReader.AttributeCount, System.Xml.XmlSubtreeReader.InAttributeActiveState, System.Xml.XmlReader.MoveToAttribute(), System.Xml.XmlSubtreeReader.MoveToNsAttribute(), and System.Xml.XmlWrappingReader.reader.