2 writes to _firstItem
Roslyn.Diagnostics.Analyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\ObjectPool.cs (2)
143if (inst == null || inst != Interlocked.CompareExchange(ref _firstItem, null, inst)) 205_firstItem = obj;
3 references to _firstItem
Roslyn.Diagnostics.Analyzers (3)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\ObjectPool.cs (3)
142T? inst = _firstItem; 200if (_firstItem == null) 273Debug.Assert(_firstItem != obj, "freeing twice?");