1 write to _dictionary
Microsoft.CodeAnalysis.Analyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
27
_dictionary
= dictionary;
9 references to _dictionary
Microsoft.CodeAnalysis.Analyzers (9)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (9)
31
public void Free(CancellationToken cancellationToken) =>
_dictionary
.Free(cancellationToken);
54
public int Count =>
_dictionary
.Count;
59
public bool IsEmpty =>
_dictionary
.IsEmpty;
68
public bool Add(T value) =>
_dictionary
.TryAdd(value, 0);
89
public bool Remove(T item) =>
_dictionary
.TryRemove(item, out _);
94
public void Clear() =>
_dictionary
.Clear();
99
public bool Contains(T item) =>
_dictionary
.ContainsKey(item);
112
return new KeyEnumerator(
_dictionary
);
120
foreach (var kvp in
_dictionary
)