public static Dictionary <TKey, TValue> ToDictionary <TKey, TValue>(this SortedDictionary <TKey, TValue> source, IEqualityComparer <TKey>?comparer) => ValueReadOnlyCollection.ToDictionary <ValueWrapper <TKey, TValue>, SortedDictionary <TKey, TValue> .Enumerator, KeyValuePair <TKey, TValue>, TKey, TValue>(new ValueWrapper <TKey, TValue>(source), (item => item.Key), (item => item.Value), comparer);
public static Dictionary <TKey2, KeyValuePair <TKey, TValue> > ToDictionary <TKey, TValue, TKey2>(this SortedDictionary <TKey, TValue> source, Selector <KeyValuePair <TKey, TValue>, TKey2> keySelector, IEqualityComparer <TKey2>?comparer) => ValueReadOnlyCollection.ToDictionary <ValueWrapper <TKey, TValue>, SortedDictionary <TKey, TValue> .Enumerator, KeyValuePair <TKey, TValue>, TKey2>(new ValueWrapper <TKey, TValue>(source), keySelector, comparer);
public static Dictionary <TKey, TSource> ToDictionary <TSource, TKey>(this LinkedList <TSource> source, Selector <TSource, TKey> keySelector) => ValueReadOnlyCollection.ToDictionary <ValueWrapper <TSource>, LinkedList <TSource> .Enumerator, TSource, TKey>(new ValueWrapper <TSource>(source), keySelector);
public static Dictionary <TKey, TElement> ToDictionary <TSource, TKey, TElement>(this LinkedList <TSource> source, Selector <TSource, TKey> keySelector, Selector <TSource, TElement> elementSelector, IEqualityComparer <TKey>?comparer) => ValueReadOnlyCollection.ToDictionary <ValueWrapper <TSource>, LinkedList <TSource> .Enumerator, TSource, TKey, TElement>(new ValueWrapper <TSource>(source), keySelector, elementSelector, comparer);
public static Dictionary <TKey2, TKey> ToDictionary <TKey, TValue, TKey2>(this SortedDictionary <TKey, TValue> .KeyCollection source, Selector <TKey, TKey2> keySelector) => ValueReadOnlyCollection.ToDictionary <ValueWrapper <TKey, TValue>, SortedDictionary <TKey, TValue> .KeyCollection.Enumerator, TKey, TKey2>(new ValueWrapper <TKey, TValue>(source), keySelector);
public static Dictionary <TKey2, TElement> ToDictionary <TKey, TValue, TKey2, TElement>(this SortedDictionary <TKey, TValue> .KeyCollection source, Selector <TKey, TKey2> keySelector, Selector <TKey, TElement> elementSelector, IEqualityComparer <TKey2>?comparer) => ValueReadOnlyCollection.ToDictionary <ValueWrapper <TKey, TValue>, SortedDictionary <TKey, TValue> .KeyCollection.Enumerator, TKey, TKey2, TElement>(new ValueWrapper <TKey, TValue>(source), keySelector, elementSelector, comparer);
public static Dictionary <TKey, TSource> ToDictionary <TSource, TKey>(this ImmutableHashSet <TSource> source, Selector <TSource, TKey> keySelector, IEqualityComparer <TKey>?comparer) => ValueReadOnlyCollection.ToDictionary <ValueWrapper <TSource>, ImmutableHashSet <TSource> .Enumerator, TSource, TKey>(new ValueWrapper <TSource>(source), keySelector, comparer);
public static Dictionary <TKey, TElement> ToDictionary <TSource, TKey, TElement>(this ImmutableHashSet <TSource> source, Selector <TSource, TKey> keySelector, Selector <TSource, TElement> elementSelector) => ValueReadOnlyCollection.ToDictionary <ValueWrapper <TSource>, ImmutableHashSet <TSource> .Enumerator, TSource, TKey, TElement>(new ValueWrapper <TSource>(source), keySelector, elementSelector);
public static Dictionary <TKey2, TElement> ToDictionary <TKey, TValue, TKey2, TElement>(this Dictionary <TKey, TValue> .KeyCollection source, Selector <TKey, TKey2> keySelector, Selector <TKey, TElement> elementSelector) => ValueReadOnlyCollection.ToDictionary <ValueWrapper <TKey, TValue>, Dictionary <TKey, TValue> .KeyCollection.Enumerator, TKey, TKey2, TElement>(new ValueWrapper <TKey, TValue>(source), keySelector, elementSelector);
public static Dictionary <TKey2, TElement> ToDictionary <TKey, TValue, TKey2, TElement>(this SortedDictionary <TKey, TValue> source, Selector <KeyValuePair <TKey, TValue>, TKey2> keySelector, Selector <KeyValuePair <TKey, TValue>, TElement> elementSelector) => ValueReadOnlyCollection.ToDictionary <ValueWrapper <TKey, TValue>, SortedDictionary <TKey, TValue> .Enumerator, KeyValuePair <TKey, TValue>, TKey2, TElement>(new ValueWrapper <TKey, TValue>(source), keySelector, elementSelector);
public static Dictionary <TKey2, KeyValuePair <TKey, TValue> > ToDictionary <TKey, TValue, TKey2>(this Dictionary <TKey, TValue> source, Selector <KeyValuePair <TKey, TValue>, TKey2> keySelector) => ValueReadOnlyCollection.ToDictionary <ValueWrapper <TKey, TValue>, Dictionary <TKey, TValue> .Enumerator, KeyValuePair <TKey, TValue>, TKey2>(new ValueWrapper <TKey, TValue>(source), keySelector);
public static Dictionary <TKey, TValue> ToDictionary <TKey, TValue>(this Dictionary <TKey, TValue> source) => ValueReadOnlyCollection.ToDictionary <ValueWrapper <TKey, TValue>, Dictionary <TKey, TValue> .Enumerator, KeyValuePair <TKey, TValue>, TKey, TValue>(new ValueWrapper <TKey, TValue>(source), (item => item.Key), (item => item.Value));
public static Dictionary <TKey2, TValue> ToDictionary <TKey, TValue, TKey2>(this Dictionary <TKey, TValue> .ValueCollection source, Selector <TValue, TKey2> keySelector, IEqualityComparer <TKey2>?comparer) => ValueReadOnlyCollection.ToDictionary <ValueWrapper <TKey, TValue>, Dictionary <TKey, TValue> .ValueCollection.Enumerator, TValue, TKey2>(new ValueWrapper <TKey, TValue>(source), keySelector, comparer);