public static List <KeyValuePair <TKey, TValue> > ToList <TKey, TValue>(this SortedDictionary <TKey, TValue> source) => ValueReadOnlyCollection.ToList <ValueWrapper <TKey, TValue>, SortedDictionary <TKey, TValue> .Enumerator, KeyValuePair <TKey, TValue> >(new ValueWrapper <TKey, TValue>(source));
public static List <TSource> ToList <TSource>(this SortedSet <TSource> source) => ValueReadOnlyCollection.ToList <ValueWrapper <TSource>, SortedSet <TSource> .Enumerator, TSource>(new ValueWrapper <TSource>(source));
public static List <TKey> ToList <TKey, TValue>(this Dictionary <TKey, TValue> .KeyCollection source) => ValueReadOnlyCollection.ToList <ValueWrapper <TKey, TValue>, Dictionary <TKey, TValue> .KeyCollection.Enumerator, TKey>(new ValueWrapper <TKey, TValue>(source));