2 writes to _firstItem
Microsoft.CodeAnalysis (2)
src\Dependencies\PooledObjects\ObjectPool`1.cs (2)
150
if (inst == null || inst != Interlocked.CompareExchange(ref
_firstItem
, null, inst))
207
_firstItem
= obj;
3 references to _firstItem
Microsoft.CodeAnalysis (3)
src\Dependencies\PooledObjects\ObjectPool`1.cs (3)
149
var inst =
_firstItem
;
202
if (
_firstItem
== null)
277
Debug.Assert(
_firstItem
!= obj, "freeing twice?");