public bool MoveNext() { CheckState(); while (current < hashset.touched) { if (hashset.GetLinkHashCode(++current) != 0) { return(true); } } return(false); }
public bool MoveNext() { CheckState(); if (next < 0) { return(false); } while (next < hashset.touched) { int num = next++; if (hashset.GetLinkHashCode(num) != 0) { current = hashset.slots[num]; return(true); } } next = -1; return(false); }
public bool MoveNext() { CheckState(); if (next < 0) { return(false); } while (next < hashset.touched) { int cur = next++; if (hashset.GetLinkHashCode(cur) != 0) { current = hashset.slots[cur]; return(true); } } next = NO_SLOT; return(false); }