2 writes to _dictionary
Microsoft.CodeAnalysis (2)
InternalUtilities\ConcurrentSet.cs (2)
42_dictionary = new ConcurrentDictionary<T, byte>(DefaultConcurrencyLevel, DefaultCapacity); 51_dictionary = new ConcurrentDictionary<T, byte>(DefaultConcurrencyLevel, DefaultCapacity, equalityComparer);
8 references to _dictionary
Microsoft.CodeAnalysis (8)
InternalUtilities\ConcurrentSet.cs (8)
58public int Count => _dictionary.Count; 63public bool IsEmpty => _dictionary.IsEmpty; 74return _dictionary.ContainsKey(value); 84return _dictionary.TryAdd(value, 0); 105return _dictionary.TryRemove(value, out _); 113_dictionary.Clear(); 147return new KeyEnumerator(_dictionary); 155foreach (var kvp in _dictionary)