3 implementations of ILookup
System.Linq (2)
System.Linq.Parallel (1)
48 references to ILookup
Aspire.Hosting (2)
Aspire.Hosting.Azure (1)
Aspire.Hosting.Redis (1)
CSharpSyntaxGenerator (2)
installer.tasks (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.Features (1)
Microsoft.CodeAnalysis.EditorFeatures (1)
Microsoft.CodeAnalysis.Features (6)
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Microsoft.CodeAnalysis.UnitTests (11)
CachingLookupTests.cs (7)
69private ILookup<string, int> CreateLookup(int[] numbers, bool randomCase)
104private void CompareLookups1(ILookup<string, int> look1, CachingDictionary<string, int> look2, SegmentedHashSet<string> keys)
121private void CompareLookups2(ILookup<string, int> look1, CachingDictionary<string, int> look2, SegmentedHashSet<string> keys)
136private void CompareLookups2(CachingDictionary<string, int> look1, ILookup<string, int> look2, SegmentedHashSet<string> keys)
162var look1 = CreateLookup(numbers, false);
194var look1 = CreateLookup(numbers, true);
226var look1 = CreateLookup(numbers, true);
Microsoft.CodeAnalysis.Workspaces (2)
Microsoft.DotNet.Arcade.Sdk (1)
netstandard (1)
System.Core (1)
System.Linq (6)
System\Linq\Lookup.cs (4)
12public static ILookup<TKey, TSource> ToLookup<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector) =>
15public static ILookup<TKey, TSource> ToLookup<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, IEqualityComparer<TKey>? comparer)
35public static ILookup<TKey, TElement> ToLookup<TSource, TKey, TElement>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector) =>
38public static ILookup<TKey, TElement> ToLookup<TSource, TKey, TElement>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey>? comparer)
System.Linq.Parallel (4)
System\Linq\ParallelEnumerable.cs (4)
5112public static ILookup<TKey, TSource> ToLookup<TSource, TKey>(
5137public static ILookup<TKey, TSource> ToLookup<TSource, TKey>(
5191public static ILookup<TKey, TElement> ToLookup<TSource, TKey, TElement>(
5223public static ILookup<TKey, TElement> ToLookup<TSource, TKey, TElement>(
System.Linq.Queryable (1)