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)
58
public int Count =>
_dictionary
.Count;
63
public bool IsEmpty =>
_dictionary
.IsEmpty;
74
return
_dictionary
.ContainsKey(value);
84
return
_dictionary
.TryAdd(value, 0);
105
return
_dictionary
.TryRemove(value, out _);
113
_dictionary
.Clear();
147
return new KeyEnumerator(
_dictionary
);
155
foreach (var kvp in
_dictionary
)