4 instantiations of Segment
mscorlib (4)
system\Collections\Concurrent\ConcurrentQueue.cs (4)
68m_head = m_tail = new Segment(0, this); 77Segment localTail = new Segment(0, this);//use this local variable to avoid the extra volatile read/write. this is safe because it is only called from ctor 744Segment newSegment = new Segment(m_index + 1, m_source); //m_index is Int64, we don't need to worry about overflow 757Segment newSegment = new Segment(m_index + 1, m_source); //m_index is Int64, we don't need to worry about overflow
21 references to Segment
mscorlib (21)
system\Collections\Concurrent\ConcurrentQueue.cs (21)
50private volatile Segment m_head; 53private volatile Segment m_tail; 77Segment localTail = new Segment(0, this);//use this local variable to avoid the extra volatile read/write. this is safe because it is only called from ctor 265Segment head = m_head; 321Segment head, tail; 332Segment curr = head.Next; 357private void GetHeadTailPositions(out Segment head, out Segment tail, 399Segment head, tail; 481Segment head, tail; 497private IEnumerator<T> GetEnumerator(Segment head, Segment tail, int headLow, int tailHigh) 532Segment curr = head.Next; 582Segment tail = m_tail; 605Segment head = m_head; 628Segment head = m_head; 663private volatile Segment m_next; 703internal Segment Next 741internal Segment UnsafeGrow() 744Segment newSegment = new Segment(m_index + 1, m_source); //m_index is Int64, we don't need to worry about overflow 757Segment newSegment = new Segment(m_index + 1, m_source); //m_index is Int64, we don't need to worry about overflow