10 writes to Second
System.Linq.Parallel (10)
System\Linq\Parallel\QueryOperators\Inlined\DecimalAverageAggregationOperator.cs (1)
60result.Second += enumerator.Current.Second;
System\Linq\Parallel\QueryOperators\Inlined\DoubleAverageAggregationOperator.cs (1)
60result.Second += enumerator.Current.Second;
System\Linq\Parallel\QueryOperators\Inlined\FloatAverageAggregationOperator.cs (1)
60result.Second += enumerator.Current.Second;
System\Linq\Parallel\QueryOperators\Inlined\IntAverageAggregationOperator.cs (1)
60result.Second += enumerator.Current.Second;
System\Linq\Parallel\QueryOperators\Inlined\LongAverageAggregationOperator.cs (1)
60result.Second += enumerator.Current.Second;
System\Linq\Parallel\QueryOperators\Inlined\NullableDecimalAverageAggregationOperator.cs (1)
59result.Second += enumerator.Current.Second;
System\Linq\Parallel\QueryOperators\Inlined\NullableDoubleAverageAggregationOperator.cs (1)
59result.Second += enumerator.Current.Second;
System\Linq\Parallel\QueryOperators\Inlined\NullableFloatAverageAggregationOperator.cs (1)
59result.Second += enumerator.Current.Second;
System\Linq\Parallel\QueryOperators\Inlined\NullableIntAverageAggregationOperator.cs (1)
59result.Second += enumerator.Current.Second;
System\Linq\Parallel\QueryOperators\Inlined\NullableLongAverageAggregationOperator.cs (1)
59result.Second += enumerator.Current.Second;
55 references to Second
System.Linq.Parallel (55)
System\Linq\Parallel\Enumerables\AggregationMinMaxHelpers.cs (6)
75(!accumulator.First || Util.Sign(comparer.Compare(element, accumulator.Second)) == sign)) 99(!accumulator.First || Util.Sign(comparer.Compare(element.Second, accumulator.Second)) == sign)) 101Debug.Assert(default(T) != null || element.Second != null, "nulls unexpected in final reduce"); 102return new Pair<bool, T>(true, element.Second); 120return accumulator.Second;
System\Linq\Parallel\Merging\OrderPreservingPipeliningMergeHelper.cs (2)
295_producerNextElement[producer] = element.Second; 330_producerNextElement[lastProducer] = element.Second;
System\Linq\Parallel\QueryOperators\Binary\ExceptQueryOperator.cs (2)
301if (!leftLookup.TryGetValue(wrappedLeftElement, out oldEntry) || _leftKeyComparer.Compare(leftKey, oldEntry.Second) < 0) 317currentKey = currentPair.Second;
System\Linq\Parallel\QueryOperators\Binary\GroupJoinQueryOperator.cs (1)
442value = new HashLookupValueList<IEnumerable<TElement>, TOrderKey>(valueList.First, valueList.Second);
System\Linq\Parallel\QueryOperators\Binary\HashJoinQueryOperatorEnumerator.cs (4)
128THashKey leftHashKey = leftPair.Second; 145currentKey = _outputKeyBuilder.Combine(leftKey, matchValue.Head.Second); 170currentKey = _outputKeyBuilder.Combine(mutables._currentLeftKey, rightMatch.Second); 257THashKey hashKey = currentPair.Second;
System\Linq\Parallel\QueryOperators\Binary\IntersectQueryOperator.cs (2)
285if (!_hashLookup.TryGetValue(wrappedLeftElem, out oldEntry) || _leftKeyComparer.Compare(leftKey, oldEntry.Second) < 0) 313currentKey = entry.Second;
System\Linq\Parallel\QueryOperators\Binary\UnionQueryOperator.cs (3)
358if (!union.TryGetValue(wrappedElem, out oldEntry) || _keyComparer.Compare(key, oldEntry.Second) < 0) 375if (!union.TryGetValue(wrappedElem, out oldEntry) || _keyComparer.Compare(key, oldEntry.Second) < 0) 388currentKey = current.Second;
System\Linq\Parallel\QueryOperators\Inlined\DecimalAverageAggregationOperator.cs (2)
60result.Second += enumerator.Current.Second; 65return result.First / result.Second;
System\Linq\Parallel\QueryOperators\Inlined\DoubleAverageAggregationOperator.cs (2)
60result.Second += enumerator.Current.Second; 65return result.First / result.Second;
System\Linq\Parallel\QueryOperators\Inlined\FloatAverageAggregationOperator.cs (2)
60result.Second += enumerator.Current.Second; 65return (float)(result.First / result.Second);
System\Linq\Parallel\QueryOperators\Inlined\IntAverageAggregationOperator.cs (2)
60result.Second += enumerator.Current.Second; 65return (double)result.First / result.Second;
System\Linq\Parallel\QueryOperators\Inlined\LongAverageAggregationOperator.cs (2)
60result.Second += enumerator.Current.Second; 65return (double)result.First / result.Second;
System\Linq\Parallel\QueryOperators\Inlined\NullableDecimalAverageAggregationOperator.cs (2)
59result.Second += enumerator.Current.Second; 64return result.First / result.Second;
System\Linq\Parallel\QueryOperators\Inlined\NullableDoubleAverageAggregationOperator.cs (2)
59result.Second += enumerator.Current.Second; 64return result.First / result.Second;
System\Linq\Parallel\QueryOperators\Inlined\NullableFloatAverageAggregationOperator.cs (2)
59result.Second += enumerator.Current.Second; 64return (float)(result.First / result.Second);
System\Linq\Parallel\QueryOperators\Inlined\NullableIntAverageAggregationOperator.cs (2)
59result.Second += enumerator.Current.Second; 64return (double)result.First / result.Second;
System\Linq\Parallel\QueryOperators\Inlined\NullableLongAverageAggregationOperator.cs (2)
59result.Second += enumerator.Current.Second; 64return (double)result.First / result.Second;
System\Linq\Parallel\QueryOperators\Unary\GroupByQueryOperator.cs (5)
334Wrapper<TGroupKey> key = new Wrapper<TGroupKey>(sourceElement.Second); 396Wrapper<TGroupKey> key = new Wrapper<TGroupKey>(sourceElement.Second); 563Wrapper<TGroupKey> key = new Wrapper<TGroupKey>(sourceElement.Second); 638Wrapper<TGroupKey> key = new Wrapper<TGroupKey>(sourceElement.Second); 800values[idx] = p.Second;
System\Linq\Parallel\QueryOperators\Unary\ReverseQueryOperator.cs (1)
153currentKey = _buffer[_bufferIndex.Value].Second;
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipQueryOperator.cs (4)
254currentKey = _buffer[_bufferIndex.Value].Second; 258|| _keyComparer.Compare(_buffer[_bufferIndex.Value].Second, _sharedIndices.MaxValue) <= 0; 285if (_keyComparer.Compare(_buffer[_bufferIndex.Value].Second, minKey) > 0) 288currentKey = _buffer[_bufferIndex.Value].Second;
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipWhileQueryOperator.cs (3)
357currentKey = _buffer[_bufferIndex.Value].Second; 378if (_keyComparer.Compare(_buffer[_bufferIndex.Value].Second, _operatorState._currentLowKey) >= 0) 381currentKey = _buffer[_bufferIndex.Value].Second;
System\Linq\Parallel\Utils\PairComparer.cs (2)
42return _comparer2.Compare(x.Second, y.Second);