2 writes to _internalDictionary
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (2)
23
_internalDictionary
= new Dictionary<WeakKey, V>(new WeakComparer());
28
_internalDictionary
= new Dictionary<WeakKey, V>(new WeakComparer(comparer));
19 references to _internalDictionary
System.Activities.Presentation (19)
System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (19)
46
foreach (WeakKey key in
_internalDictionary
.Keys)
64
return new List<V>(
_internalDictionary
.Values);
77
return
_internalDictionary
.Count;
94
return
_internalDictionary
[new WeakKey(key)];
102
_internalDictionary
[k] = value;
115
return
_internalDictionary
.TryGetValue(k, out value);
125
_internalDictionary
.Add(k, value);
135
return
_internalDictionary
.ContainsKey(new WeakKey(key));
142
return
_internalDictionary
.Remove(new WeakKey(key));
155
_internalDictionary
.Clear();
165
result =
_internalDictionary
.TryGetValue(new WeakKey(item.Key), out value);
181
foreach (KeyValuePair<WeakKey, V> item in
_internalDictionary
)
195
return
_internalDictionary
.Remove(key);
208
foreach (KeyValuePair<WeakKey, V> item in
_internalDictionary
)
232
_internalDictionary
.Remove(key);
253
foreach (WeakKey key in
_internalDictionary
.Keys)
271
_internalDictionary
.Remove(key);
397
_dictionary.
_internalDictionary
.Remove(_key);
417
else if (_dictionary.
_internalDictionary
.ContainsKey(_key))