int A hash code derived from the NodeReference.NodeID and NodeReference.Context of this reference.
Returns a hash code for this NodeReference.
HashSet<NodeReference> seen = new HashSet<NodeReference>(); NodeReference nodeRef = context.GetNodeReference(nodeID); seen.Add(nodeRef); // GetHashCode is used implicitly by the HashSet