public MyConcurrentHashSetEnumerator(HashSet <T> set, SpinLockRef.Token ilock) { setEnumerator = set.GetEnumerator(); this.ilock = ilock; }
public EWrapper(Dictionary <TKey, TValue> .Enumerator enm, SpinLockRef.Token tok) { m_enumerator = enm; m_token = tok; }
public SafeEnumerator(HashSet <V> set, SpinLockRef.Token ilock) { setEnumerator = set.GetEnumerator(); this.ilock = ilock; }