4 writes to _backing
MSBuildTaskHost (4)
Immutable\ImmutableDictionary.cs (4)
174_backing = new Dictionary<K, V>(); 179_backing = new Dictionary<K, V>(comparer); 186_backing = new Dictionary<K, V>(imm._backing, keyComparer ?? imm._backing.Comparer); 190_backing = new Dictionary<K, V>(source, keyComparer);
29 references to _backing
MSBuildTaskHost (29)
Immutable\ImmutableDictionary.cs (29)
41public ICollection<K> Keys => _backing.Keys; 42public ICollection<V> Values => _backing.Values; 44ICollection IDictionary.Keys => _backing.Keys; 45ICollection IDictionary.Values => _backing.Values; 47public int Count => _backing.Count; 49public V this[K key] => _backing[key]; 59return _backing.TryGetValue(key, out value); 64return _backing.Contains(item); 69return ((IDictionary)_backing).Contains(key); 74return _backing.ContainsKey(key); 79return _backing.GetEnumerator(); 84return _backing.GetEnumerator(); 89return _backing.GetEnumerator(); 137var clone = new ImmutableDictionary<K, V>(_backing); 138clone._backing[key] = value; 145var clone = new ImmutableDictionary<K, V>(_backing); 148clone._backing[item.Key] = item.Value; 161var clone = new ImmutableDictionary<K, V>(_backing); 162clone._backing.Remove(key); 169return new ImmutableDictionary<K, V>(_backing.Comparer); 186_backing = new Dictionary<K, V>(imm._backing, keyComparer ?? imm._backing.Comparer); 202public IEqualityComparer<K> KeyComparer { get => _backing.Comparer; internal set => throw new NotSupportedException(); } 206return _backing.ToArray(); 211var n = new Dictionary<K, V>(_backing, _backing.Comparer); 223return new ImmutableDictionary<K, V>(_backing, keyComparer); 232get { return _backing[(K)key]; } 253get { return _backing[key]; }