2 writes to _storage
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\TemporarySet`1.cs (2)
33Interlocked.Exchange(ref _storage, null)?.Free(cancellationToken); 41storage = Interlocked.CompareExchange(ref _storage, newStorage, null) ?? newStorage;
7 references to _storage
Microsoft.CodeAnalysis.AnalyzerUtilities (7)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\TemporarySet`1.cs (7)
29=> new(_storage ?? EmptyHashSet); 38if (_storage is not { } storage) 63if (_storage is not { } storage) 74if (_storage is not { } storage) 82if (_storage is not { } storage) 90return new Enumerator((_storage ?? EmptyHashSet).GetEnumerator()); 95return (_storage ?? EmptyHashSet).AsEnumerable();