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

◆ GetAttributeNode() [1/4]

XmlAttributeNode System.Xml.XmlBaseReader.GetAttributeNode ( int index)
inlineprivateinherited

Definition at line 1636 of file XmlBaseReader.cs.

1637 {
1639 {
1640 throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("index", System.SR.XmlElementAttributes));
1641 }
1642 if (index < 0)
1643 {
1644 throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("index", System.SR.ValueMustBeNonNegative));
1645 }
1646 if (index >= _attributeCount)
1647 {
1649 }
1650 return _attributeNodes[index];
1651 }
static string XmlElementAttributes
Definition SR.cs:308
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string ValueMustBeNonNegative
Definition SR.cs:296
static string OffsetExceedsBufferSize
Definition SR.cs:322
Definition SR.cs:7
XmlAttributeNode[] _attributeNodes

References System.Xml.XmlBaseReader.NamespaceManager._attributeCount, System.Xml.XmlBaseReader._attributeNodes, System.Xml.XmlBaseReader._node, System.Xml.XmlBaseReader.XmlNode.CanGetAttribute, System.SR.Format(), System.index, System.SR.OffsetExceedsBufferSize, System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(), System.SR.ValueMustBeNonNegative, and System.SR.XmlElementAttributes.

Referenced by System.Xml.XmlBaseReader.GetAttribute(), System.Xml.XmlBaseReader.GetAttribute(), System.Xml.XmlBaseReader.GetAttribute(), System.Xml.XmlBaseReader.GetAttribute(), System.Xml.XmlBaseReader.MoveToAttribute(), System.Xml.XmlBaseReader.MoveToAttribute(), System.Xml.XmlBaseReader.MoveToAttribute(), System.Xml.XmlBaseReader.MoveToFirstAttribute(), and System.Xml.XmlBaseReader.MoveToNextAttribute().