Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros

◆ GetEnumerator()

IEnumerator System.Xml.XmlNamedNodeMap.SmallXmlNodeList.GetEnumerator ( )
inline

Definition at line 173 of file XmlNamedNodeMap.cs.

174 {
175 if (_field == null)
176 {
177 return XmlDocument.EmptyEnumerator;
178 }
180 {
181 return list.GetEnumerator();
182 }
183 return new SingleObjectEnumerator(_field);
184 }

References System.Xml.XmlNamedNodeMap.SmallXmlNodeList._field, System.Xml.XmlDocument.EmptyEnumerator, and System.list.

Referenced by System.Xml.XmlNamedNodeMap.GetEnumerator().