1 type derived from Lookup
System.Linq (1)
System\Linq\Lookup.cs (1)
262
internal sealed class CollectionLookup<TKey, TElement> :
Lookup
<TKey, TElement>, ICollection<IGrouping<TKey, TElement>>, IReadOnlyCollection<IGrouping<TKey, TElement>>
31 references to Lookup
netstandard (1)
netstandard.cs (1)
1037
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Linq.
Lookup
<,>))]
System.Core (1)
System.Core.cs (1)
175
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Linq.
Lookup
<,>))]
System.Linq (29)
System\Linq\Grouping.cs (8)
132
private
Lookup
<TKey, TElement>? _lookup;
151
_lookup =
Lookup
<TKey, TElement>.Create(_source, _keySelector, _elementSelector, _comparer);
189
private
Lookup
<TKey, TSource>? _lookup;
207
_lookup =
Lookup
<TKey, TSource>.Create(_source, _keySelector, _comparer);
245
private
Lookup
<TKey, TElement>? _lookup;
263
_lookup =
Lookup
<TKey, TElement>.Create(_source, _keySelector, _elementSelector, _comparer);
299
private
Lookup
<TKey, TSource>? _lookup;
316
_lookup =
Lookup
<TKey, TSource>.Create(_source, _keySelector, _comparer);
System\Linq\Grouping.SpeedOpt.cs (12)
13
Lookup
<TKey, TElement>.Create(_source, _keySelector, _elementSelector, _comparer).ToArray(_resultSelector);
16
Lookup
<TKey, TElement>.Create(_source, _keySelector, _elementSelector, _comparer).ToList(_resultSelector);
19
onlyIfCheap ? -1 :
Lookup
<TKey, TElement>.Create(_source, _keySelector, _elementSelector, _comparer).Count;
25
Lookup
<TKey, TSource>.Create(_source, _keySelector, _comparer).ToArray(_resultSelector);
28
Lookup
<TKey, TSource>.Create(_source, _keySelector, _comparer).ToList(_resultSelector);
31
onlyIfCheap ? -1 :
Lookup
<TKey, TSource>.Create(_source, _keySelector, _comparer).Count;
37
Lookup
<TKey, TElement>.Create(_source, _keySelector, _elementSelector, _comparer).ToArray();
40
Lookup
<TKey, TElement>.Create(_source, _keySelector, _elementSelector, _comparer).ToList();
43
onlyIfCheap ? -1 :
Lookup
<TKey, TElement>.Create(_source, _keySelector, _elementSelector, _comparer).Count;
49
Lookup
<TKey, TSource>.Create(_source, _keySelector, _comparer).ToArray();
52
Lookup
<TKey, TSource>.Create(_source, _keySelector, _comparer).ToList();
55
onlyIfCheap ? -1 :
Lookup
<TKey, TSource>.Create(_source, _keySelector, _comparer).Count;
System\Linq\GroupJoin.cs (2)
54
Lookup
<TKey, TInner> lookup =
Lookup
<TKey, TInner>.CreateForJoin(inner, innerKeySelector, comparer);
System\Linq\Join.cs (2)
54
Lookup
<TKey, TInner> lookup =
Lookup
<TKey, TInner>.CreateForJoin(inner, innerKeySelector, comparer);
System\Linq\Lookup.cs (5)
32
return
Lookup
<TKey, TSource>.Create(source, keySelector, comparer);
60
return
Lookup
<TKey, TElement>.Create(source, keySelector, elementSelector, comparer);
82
internal static
Lookup
<TKey, TElement> Create<TSource>(IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey>? comparer)
97
internal static
Lookup
<TKey, TElement> Create(IEnumerable<TElement> source, Func<TElement, TKey> keySelector, IEqualityComparer<TKey>? comparer)
111
internal static
Lookup
<TKey, TElement> CreateForJoin(IEnumerable<TElement> source, Func<TElement, TKey> keySelector, IEqualityComparer<TKey>? comparer)