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

◆ AttributeCount

override int System.Xml.Linq.XNodeReader.AttributeCount
get

Definition at line 19 of file XNodeReader.cs.

20 {
21 get
22 {
23 if (!IsInteractive)
24 {
25 return 0;
26 }
27 int num = 0;
29 if (elementInAttributeScope != null)
30 {
31 XAttribute xAttribute = elementInAttributeScope.lastAttr;
32 if (xAttribute != null)
33 {
34 do
35 {
38 {
39 num++;
40 }
41 }
42 while (xAttribute != elementInAttributeScope.lastAttr);
43 }
44 }
45 return num;
46 }
47 }
bool IsDuplicateNamespaceAttribute(XAttribute candidateAttribute)
XElement GetElementInAttributeScope()
readonly bool _omitDuplicateNamespaces