#if NET20 || NET30 || NET35 || NET40 || !NET_4_6 namespace System.Collections.Generic { public partial interface IReadOnlyDictionary : IReadOnlyCollection> { IEnumerable Keys { get; } IEnumerable Values { get; } } public partial interface IReadOnlyDictionary { TValue this[TKey key] { get; } } public partial interface IReadOnlyDictionary { bool ContainsKey(TKey key); bool TryGetValue(TKey key, out TValue value); } } #endif