1 write to m_bufferIndex
System.Core (1)
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipWhileQueryOperator.cs (1)
340
m_bufferIndex
= new Shared<int>(-1);
11 references to m_bufferIndex
System.Core (11)
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipWhileQueryOperator.cs (11)
349
if (
m_bufferIndex
.Value >= m_buffer.Count - 1)
355
++
m_bufferIndex
.Value;
356
currentElement = m_buffer[
m_bufferIndex
.Value].First;
357
currentKey = m_buffer[
m_bufferIndex
.Value].Second;
372
if (
m_bufferIndex
.Value < m_buffer.Count - 1)
374
for (
m_bufferIndex
.Value++;
m_bufferIndex
.Value < m_buffer.Count;
m_bufferIndex
.Value++)
378
if (m_keyComparer.Compare(m_buffer[
m_bufferIndex
.Value].Second, m_operatorState.m_currentLowKey) >= 0)
380
currentElement = m_buffer[
m_bufferIndex
.Value].First;
381
currentKey = m_buffer[
m_bufferIndex
.Value].Second;