1 write to _capacity
Microsoft.Build (1)
Collections\WeakValueDictionary.cs (1)
127_capacity = _dictionary.Count * 2;
3 references to _capacity
Microsoft.Build (3)
Collections\WeakValueDictionary.cs (3)
47_dictionary = new Dictionary<K, WeakReference<V>>(_capacity, keyComparer); 118if (_dictionary.Count == _capacity) 125if (_dictionary.Count == _capacity)