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