27 references to Shared
System.Core (27)
System\Linq\Parallel\Enumerables\RangeEnumerable.cs (1)
106
m_currentCount = new
Shared
<int>(-1);
System\Linq\Parallel\Enumerables\RepeatEnumerable.cs (1)
110
m_currentIndex = new
Shared
<int>(-1);
System\Linq\Parallel\Merging\OrderPreservingMergeHelper.cs (1)
51
m_results = new
Shared
<TInputOutput[]>(null);
System\Linq\Parallel\Partitioning\PartitionedDataSource.cs (5)
177
Shared<int> sharedCurrentIndex = new
Shared
<int>(0);
178
Shared<int> sharedPartitionCount = new
Shared
<int>(partitionCount);
179
Shared<bool> sharedExeceptionTracker = new
Shared
<bool>(false);
379
m_currentIndex = new
Shared
<int>(m_startIndex);
557
m_currentIndex = new
Shared
<int>(m_startIndex);
System\Linq\Parallel\QueryOperators\Binary\ExceptQueryOperator.cs (1)
182
m_outputLoopCount = new
Shared
<int>(0);
System\Linq\Parallel\QueryOperators\Binary\IntersectQueryOperator.cs (1)
171
m_outputLoopCount = new
Shared
<int>(0);
System\Linq\Parallel\QueryOperators\Binary\UnionQueryOperator.cs (1)
227
m_outputLoopCount = new
Shared
<int>(0);
System\Linq\Parallel\QueryOperators\QueryOpeningEnumerator.cs (1)
48
private readonly Shared<bool> m_topLevelDisposedFlag = new
Shared
<bool>(false); //a shared<bool> so that it can be referenced by others.
System\Linq\Parallel\QueryOperators\QuerySettings.cs (1)
144
return WithPerExecutionSettings(new CancellationTokenSource(), new
Shared
<bool>(false));
System\Linq\Parallel\QueryOperators\Unary\AnyAllSearchOperator.cs (1)
110
Shared<bool> resultFoundFlag = new
Shared
<bool>(false);
System\Linq\Parallel\QueryOperators\Unary\ContainsSearchOperator.cs (1)
103
Shared<bool> resultFoundFlag = new
Shared
<bool>(false);
System\Linq\Parallel\QueryOperators\Unary\DefaultIfEmptyQueryOperator.cs (1)
67
Shared<int> sharedEmptyCount = new
Shared
<int>(0);
System\Linq\Parallel\QueryOperators\Unary\DistinctQueryOperator.cs (1)
159
m_outputLoopCount = new
Shared
<int>(0);
System\Linq\Parallel\QueryOperators\Unary\ElementAtQueryOperator.cs (1)
87
Shared<bool> resultFoundFlag = new
Shared
<bool>(false);
System\Linq\Parallel\QueryOperators\Unary\ForAllOperator.cs (1)
55
Shared<bool> dummyTopLevelDisposeFlag = new
Shared
<bool>(false);
System\Linq\Parallel\QueryOperators\Unary\IndexedWhereQueryOperator.cs (1)
176
m_outputLoopCount = new
Shared
<int>(0);
System\Linq\Parallel\QueryOperators\Unary\ReverseQueryOperator.cs (1)
138
m_bufferIndex = new
Shared
<int>(0);
System\Linq\Parallel\QueryOperators\Unary\SingleQueryOperator.cs (1)
66
Shared<int> totalElementCount = new
Shared
<int>(0);
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipQueryOperator.cs (1)
237
m_bufferIndex = new
Shared
<int>(-1);
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipWhileQueryOperator.cs (1)
340
m_bufferIndex = new
Shared
<int>(-1);
System\Linq\Parallel\QueryOperators\Unary\WhereQueryOperator.cs (1)
141
m_outputLoopCount = new
Shared
<int>(0);
System\Linq\Parallel\Scheduling\CancellationState.cs (1)
56
TopLevelDisposedFlag = new
Shared
<bool>(false); //it would always be initialised to false, so no harm doing it here and avoid #if around constructors.
System\Linq\ParallelEnumerable.cs (1)
4412
.WithPerExecutionSettings(new CancellationTokenSource(), new System.Linq.Parallel.
Shared
<bool>(false));