8 writes to Value
mscorlib (8)
system\collections\concurrent\PartitionerStatic.cs (8)
448
m_localOffset.
Value
++;
483
m_localOffset.
Value
= 0;
932
Interlocked.Increment(ref m_activePartitionCount.
Value
);
962
return m_enumerable.GrabChunk(m_localList, requestedChunkSize, ref m_currentChunkSize.
Value
);
1006
if (m_activePartitionCount != null && Interlocked.Decrement(ref m_activePartitionCount.
Value
) == 0)
1163
m_currentChunkSize.
Value
= (int)(newSharedIndex - oldSharedIndex);
1164
m_localOffset.
Value
= -1;
1663
this.
Value
= value;
24 references to Value
mscorlib (24)
system\collections\concurrent\PartitionerStatic.cs (24)
445
if (m_localOffset.
Value
< m_currentChunkSize.
Value
- 1)
457
Contract.Assert(m_localOffset.
Value
== m_currentChunkSize.
Value
- 1 || m_currentChunkSize.
Value
== 0);
461
if (m_currentChunkSize.
Value
== 0) //first time grabbing from source enumerator
467
requestedChunkSize = m_currentChunkSize.
Value
;
471
requestedChunkSize = Math.Min(m_currentChunkSize.
Value
* 2, m_maxChunkSize);
482
Contract.Assert(m_currentChunkSize.
Value
<= requestedChunkSize && m_currentChunkSize.
Value
> 0);
997
Contract.Assert(m_localOffset.
Value
>= 0 && m_localOffset.
Value
< m_currentChunkSize.
Value
);
998
return (m_localList[m_localOffset.
Value
]);
1276
Contract.Assert(m_localOffset.
Value
>= 0 && m_localOffset.
Value
< m_currentChunkSize.
Value
);
1277
return new KeyValuePair<long, TSource>(m_startIndex + m_localOffset.
Value
,
1278
m_sharedReader[m_startIndex + m_localOffset.
Value
]);
1360
Contract.Assert(m_localOffset.
Value
>= 0 && m_localOffset.
Value
< m_currentChunkSize.
Value
);
1361
return new KeyValuePair<long, TSource>(m_startIndex + m_localOffset.
Value
,
1362
m_sharedReader[m_startIndex + m_localOffset.
Value
]);