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

◆ MoveToNextAttribute()

override bool System.Data.XmlIgnoreNamespaceReader.MoveToNextAttribute ( )
inline

Definition at line 29 of file XmlIgnoreNamespaceReader.cs.

30 {
31 bool result;
32 bool flag;
33 do
34 {
35 result = false;
36 flag = false;
37 if (base.MoveToNextAttribute())
38 {
39 result = true;
40 if (_namespacesToIgnore.Contains(NamespaceURI) || (NamespaceURI == "http://www.w3.org/XML/1998/namespace" && LocalName != "lang"))
41 {
42 flag = true;
43 }
44 }
45 }
46 while (flag);
47 return result;
48 }
override string LocalName
override string NamespaceURI

References System.Data.XmlIgnoreNamespaceReader._namespacesToIgnore, System.Collections.Generic.List< T >.Contains(), System.Xml.XmlNodeReader.LocalName, and System.Xml.XmlNodeReader.NamespaceURI.

Referenced by System.Data.XmlIgnoreNamespaceReader.MoveToFirstAttribute().