internal int FindNodeOffset( XmlAttribute node ) {
ArrayList nodes = this.Nodes;
for (int i = 0; i < nodes.Count; i++) {
XmlAttribute tmp = (XmlAttribute) nodes[i];
if (tmp.LocalNameHash == node.LocalNameHash
&& tmp.Name == node.Name
&& tmp.NamespaceURI == node.NamespaceURI )
{
return i;
}
}
return -1;
}