11 instantiations of Wrapper
System.Core (11)
System\Linq\Parallel\QueryOperators\Binary\ExceptQueryOperator.cs (1)
301
Wrapper<TInputOutput> wrappedLeftElement = new
Wrapper
<TInputOutput>(leftElement.First);
System\Linq\Parallel\QueryOperators\Binary\IntersectQueryOperator.cs (3)
287
Wrapper<TInputOutput> wrappedLeftElem = new
Wrapper
<TInputOutput>(leftElement.First);
314
Wrapper<TInputOutput> wrappedRightElem = new
Wrapper
<TInputOutput>(rightElement.First);
321
m_hashLookup.Remove(new
Wrapper
<TInputOutput>(entry.First));
System\Linq\Parallel\QueryOperators\Binary\UnionQueryOperator.cs (2)
371
Wrapper<TInputOutput> wrappedElem = new
Wrapper
<TInputOutput>(elem.First);
388
Wrapper<TInputOutput> wrappedElem = new
Wrapper
<TInputOutput>(elem.First);
System\Linq\Parallel\QueryOperators\Unary\DistinctQueryOperator.cs (1)
248
Wrapper<TInputOutput> wrappedElem = new
Wrapper
<TInputOutput>(elem.First);
System\Linq\Parallel\QueryOperators\Unary\GroupByQueryOperator.cs (4)
342
Wrapper<TGroupKey> key = new
Wrapper
<TGroupKey>(sourceElement.Second);
406
Wrapper<TGroupKey> key = new
Wrapper
<TGroupKey>(sourceElement.Second);
575
Wrapper<TGroupKey> key = new
Wrapper
<TGroupKey>(sourceElement.Second);
651
Wrapper<TGroupKey> key = new
Wrapper
<TGroupKey>(sourceElement.Second);
45 references to Wrapper
System.Core (45)
System\Linq\Parallel\QueryOperators\Binary\ExceptQueryOperator.cs (3)
236
private IEnumerator<KeyValuePair<
Wrapper
<TInputOutput>, Pair<TInputOutput, TLeftKey>>> m_outputEnumerator; // The enumerator output elements + order keys.
285
new Dictionary<
Wrapper
<TInputOutput>, Pair<TInputOutput, TLeftKey>>(
301
Wrapper
<TInputOutput> wrappedLeftElement = new Wrapper<TInputOutput>(leftElement.First);
System\Linq\Parallel\QueryOperators\Binary\IntersectQueryOperator.cs (5)
238
private IEqualityComparer<
Wrapper
<TInputOutput>> m_comparer; // Comparer to use for equality/hash-coding.
240
private Dictionary<
Wrapper
<TInputOutput>, Pair<TInputOutput,TLeftKey>> m_hashLookup; // The hash lookup, used to produce the intersection.
276
m_hashLookup = new Dictionary<
Wrapper
<TInputOutput>, Pair<TInputOutput, TLeftKey>>(m_comparer);
287
Wrapper
<TInputOutput> wrappedLeftElem = new Wrapper<TInputOutput>(leftElement.First);
314
Wrapper
<TInputOutput> wrappedRightElem = new Wrapper<TInputOutput>(rightElement.First);
System\Linq\Parallel\QueryOperators\Binary\UnionQueryOperator.cs (6)
309
private IEnumerator<KeyValuePair<
Wrapper
<TInputOutput>, Pair<TInputOutput, ConcatKey<TLeftKey, TRightKey>>>> m_outputEnumerator; // Enumerator over the output of the union.
355
IEqualityComparer<
Wrapper
<TInputOutput>> wrapperComparer = new WrapperEqualityComparer<TInputOutput>(m_comparer);
356
Dictionary<
Wrapper
<TInputOutput>, Pair<TInputOutput, ConcatKey<TLeftKey, TRightKey>>> union =
357
new Dictionary<
Wrapper
<TInputOutput>, Pair<TInputOutput, ConcatKey<TLeftKey, TRightKey>>>(wrapperComparer);
371
Wrapper
<TInputOutput> wrappedElem = new Wrapper<TInputOutput>(elem.First);
388
Wrapper
<TInputOutput> wrappedElem = new Wrapper<TInputOutput>(elem.First);
System\Linq\Parallel\QueryOperators\Unary\DistinctQueryOperator.cs (5)
201
private Dictionary<
Wrapper
<TInputOutput>, TKey> m_hashLookup; // The hash lookup, used to produce the distinct set.
203
private IEnumerator<KeyValuePair<
Wrapper
<TInputOutput>, TKey>> m_hashLookupEnumerator; // Enumerates over m_hashLookup.
219
m_hashLookup = new Dictionary<
Wrapper
<TInputOutput>, TKey>(
248
Wrapper
<TInputOutput> wrappedElem = new Wrapper<TInputOutput>(elem.First);
266
KeyValuePair<
Wrapper
<TInputOutput>, TKey> currentPair = m_hashLookupEnumerator.Current;
System\Linq\Parallel\QueryOperators\Unary\GroupByQueryOperator.cs (22)
238
internal HashLookup<
Wrapper
<TGroupKey>, ListChunk<TElement>> m_hashLookup; // The lookup with key-value mappings.
296
protected abstract HashLookup<
Wrapper
<TGroupKey>, ListChunk<TElement>> BuildHashLookup();
328
protected override HashLookup<
Wrapper
<TGroupKey>, ListChunk<TSource>> BuildHashLookup()
330
HashLookup<
Wrapper
<TGroupKey>, ListChunk<TSource>> hashlookup =
331
new HashLookup<
Wrapper
<TGroupKey>, ListChunk<TSource>>(new WrapperEqualityComparer<TGroupKey>(m_keyComparer));
342
Wrapper
<TGroupKey> key = new Wrapper<TGroupKey>(sourceElement.Second);
392
protected override HashLookup<
Wrapper
<TGroupKey>, ListChunk<TElement>> BuildHashLookup()
394
HashLookup<
Wrapper
<TGroupKey>, ListChunk<TElement>> hashlookup =
395
new HashLookup<
Wrapper
<TGroupKey>, ListChunk<TElement>>(new WrapperEqualityComparer<TGroupKey>(m_keyComparer));
406
Wrapper
<TGroupKey> key = new Wrapper<TGroupKey>(sourceElement.Second);
445
internal HashLookup<
Wrapper
<TGroupKey>, GroupKeyData> m_hashLookup; // The lookup with key-value mappings.
508
protected abstract HashLookup<
Wrapper
<TGroupKey>, GroupKeyData> BuildHashLookup();
561
protected override HashLookup<
Wrapper
<TGroupKey>, GroupKeyData> BuildHashLookup()
563
HashLookup<
Wrapper
<TGroupKey>, GroupKeyData> hashLookup = new HashLookup<
Wrapper
<TGroupKey>, GroupKeyData>(
575
Wrapper
<TGroupKey> key = new Wrapper<TGroupKey>(sourceElement.Second);
637
protected override HashLookup<
Wrapper
<TGroupKey>, GroupKeyData> BuildHashLookup()
639
HashLookup<
Wrapper
<TGroupKey>, GroupKeyData> hashLookup = new HashLookup<
Wrapper
<TGroupKey>, GroupKeyData>(
651
Wrapper
<TGroupKey> key = new Wrapper<TGroupKey>(sourceElement.Second);
695
private KeyValuePair<
Wrapper
<TGroupKey>, ListChunk<TElement>> m_keyValues; // A key value pair.
701
internal GroupByGrouping(KeyValuePair<
Wrapper
<TGroupKey>, ListChunk<TElement>> keyValues)
System\Linq\Parallel\Utils\WrapperEqualityComparer.cs (4)
24
internal struct WrapperEqualityComparer<T> : IEqualityComparer<
Wrapper
<T>>
40
public bool Equals(
Wrapper
<T> x,
Wrapper
<T> y)
46
public int GetHashCode(
Wrapper
<T> x)