4 writes to _count
Microsoft.CodeAnalysis.Workspaces (4)
TemporaryArray`1.cs (4)
152_count++; 174_count++; 192_count++; 276_count = 0;
14 references to _count
Microsoft.CodeAnalysis.Workspaces (14)
TemporaryArray`1.cs (14)
91public readonly int Count => _builder?.Count ?? _count; 101if ((uint)index >= _count) 122if ((uint)index >= _count) 149else if (_count < InlineCapacity) 153this[_count - 1] = item; 157Debug.Assert(_count == InlineCapacity); 169else if (_count + items.Length <= InlineCapacity) 175this[_count - 1] = item; 187if (_count + items.Count <= InlineCapacity) 193this[_count - 1] = item; 235var result = _count switch 264for (var i = 0; i < _count; i++) 288switch (_count) 358=> array._count;