2 writes to _freeIndex
Microsoft.CodeAnalysis (2)
Syntax\InternalSyntax\SyntaxListPool.cs (2)
30
_freeIndex
--;
77
_freeIndex
++;
5 references to _freeIndex
Microsoft.CodeAnalysis (5)
Syntax\InternalSyntax\SyntaxListPool.cs (5)
28
if (
_freeIndex
> 0)
31
item = _freeList[
_freeIndex
].Value!;
32
_freeList[
_freeIndex
].Value = null;
67
if (
_freeIndex
>= _freeList.Length)
76
_freeList[
_freeIndex
].Value = item;