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

◆ IndexOf() [1/2]

virtual int System.Xml.Xsl.Qil.QilNode.IndexOf ( QilNode node)
inlinevirtualinherited

Definition at line 166 of file QilNode.cs.

167 {
168 for (int i = 0; i < Count; i++)
169 {
170 if (node.Equals(this[i]))
171 {
172 return i;
173 }
174 }
175 return -1;
176 }

References System.Xml.Xsl.Qil.QilNode.Count.

Referenced by System.Xml.Xsl.Qil.QilNode.Contains(), and System.Xml.Xsl.Qil.QilNode.Remove().