Пример #1
0
        internal static DictionaryImpl <TKey, TValue, TComparer> CreateRef <TKey, TValue, TComparer>(
            ConcurrentDictionary <TKey, TValue, TComparer> topDict, int capacity)
            where TKey : class where TComparer : struct, IEqualityComparer <TKey>
        {
            var result = new DictionaryImplRef <TKey, TKey, TValue, TComparer>(capacity, topDict);

            return(result);
        }
Пример #2
0
 private DictionaryImplRef(int capacity, DictionaryImplRef <TKey, TKeyStore, TValue, TComparer> other)
     : base(capacity, other)
 {
 }