2 writes to _firstItem
Microsoft.CodeAnalysis (2)
src\roslyn\src\Dependencies\PooledObjects\ObjectPool`1.cs (2)
147
if (inst == null || inst != Interlocked.CompareExchange(ref
_firstItem
, null, inst))
199
_firstItem
= obj;
3 references to _firstItem
Microsoft.CodeAnalysis (3)
src\roslyn\src\Dependencies\PooledObjects\ObjectPool`1.cs (3)
146
var inst =
_firstItem
;
194
if (
_firstItem
== null)
252
Debug.Assert(
_firstItem
!= obj, "freeing twice?");