Lines Matching refs:TKey
17 …public class SerializableWeakKeyDictionary<TKey, TValue> : IDictionary<TKey, TValue> where TKey : …
21 public void Add(TKey key, TValue value) in Add()
30 public bool ContainsKey(TKey key) in ContainsKey()
36 TKey lkey; in ContainsKey()
42 public bool Remove(TKey key) in Remove()
48 TKey lkey; in Remove()
55 public bool TryGetValue(TKey key, out TValue value) in TryGetValue()
63 public TValue this[TKey index]
94 public ICollection<TKey> Keys
102 TKey target;
117 TKey target;
129 public void Add(KeyValuePair<TKey, TValue> item) in Add() argument
139 public bool Contains(KeyValuePair<TKey, TValue> item) in Contains() argument
144 public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex) in CopyTo() argument
149 public bool Remove(KeyValuePair<TKey, TValue> item) in Remove() argument
162 public IEnumerator<KeyValuePair<TKey, TValue>> GetEnumerator() in GetEnumerator()
164 var result = new List<KeyValuePair<TKey, TValue>>(); in GetEnumerator()
169 TKey key; in GetEnumerator()
173 result.Add(new KeyValuePair<TKey, TValue>(key, value)); in GetEnumerator()
197 cwt = new ConditionalWeakTable<TKey, TValue>(); in SerializableWeakKeyDictionary()
205 keys = new List<TKey>(); in BeforeSerialization()
212 TKey target; in BeforeSerialization()
245 private readonly ConditionalWeakTable<TKey, TValue> cwt;
250 private List<TKey> keys;