public static Dictionary <TKey, TElement> ToDictionary <TSource, TKey, TElement>(this ImmutableList <TSource> source, Selector <TSource, TKey> keySelector, Selector <TSource, TElement> elementSelector, IEqualityComparer <TKey>?comparer) => ReadOnlyList.ToDictionary <ImmutableList <TSource>, TSource, TKey, TElement>(source, keySelector, elementSelector, comparer);
public static Dictionary <TKey, TElement> ToDictionary <TSource, TKey, TElement>(this List <TSource> source, Selector <TSource, TKey> keySelector, Selector <TSource, TElement> elementSelector) => ReadOnlyList.ToDictionary <List <TSource>, TSource, TKey, TElement>(source, keySelector, elementSelector);
public static Dictionary <TKey, TSource> ToDictionary <TSource, TKey>(this ImmutableList <TSource> source, Selector <TSource, TKey> keySelector) => ReadOnlyList.ToDictionary <ImmutableList <TSource>, TSource, TKey>(source, keySelector);
public static Dictionary <TKey, TSource> ToDictionary <TSource, TKey>(this List <TSource> source, Selector <TSource, TKey> keySelector, IEqualityComparer <TKey>?comparer) => ReadOnlyList.ToDictionary <List <TSource>, TSource, TKey>(source, keySelector, comparer);