3 writes to _size
Microsoft.CodeAnalysis (3)
InternalUtilities\WeakList.cs (3)
119_size = j; 158_items[_size++] = new WeakReference<T>(item); 209_weakList._size = 0;
11 references to _size
Microsoft.CodeAnalysis (11)
InternalUtilities\WeakList.cs (11)
27Debug.Assert(_size == _items.Length); 64Debug.Assert(_size == _items.Length); 76Debug.Assert(_items.Length > 0 && _size < 3 * _items.Length / 4, "length: " + _items.Length + " size: " + _size); 107int oldSize = _size; 137get { return _size; } 142if (index < 0 || index >= _size) 152if (_size == _items.Length) 157Debug.Assert(_size < _items.Length); 174_count = weakList._size; 175_alive = weakList._size;