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)
27
Debug.Assert(
_size
== _items.Length);
64
Debug.Assert(
_size
== _items.Length);
76
Debug.Assert(_items.Length > 0 &&
_size
< 3 * _items.Length / 4, "length: " + _items.Length + " size: " +
_size
);
107
int oldSize =
_size
;
137
get { return
_size
; }
142
if (index < 0 || index >=
_size
)
152
if (
_size
== _items.Length)
157
Debug.Assert(
_size
< _items.Length);
174
_count = weakList.
_size
;
175
_alive = weakList.
_size
;