5 writes to count
System.Windows.Forms (5)
winforms\Managed\System\WinForms\ListBox.cs (5)
2547return entries[count++]; 2560entries[count++] = new Entry(i); 2573count = 0; 2750count++; 2770count--;
18 references to count
System.Windows.Forms (18)
winforms\Managed\System\WinForms\ListBox.cs (18)
2546entries[count] = new Entry(item); 2569if (count > 0) { 2570Array.Clear(entries, 0, count); 2595else if (count + elements >= entries.Length) { 2613for(int i = 0; i < count; i++) { 2631return count; 2639for(int i = 0; i < count; i++) { 2706for(int i = 0; i < count; i++) { 2726for(int i = 0; i < count; i++) { 2745if (index < count) { 2746System.Array.Copy(entries, index, entries, index + 1, count - index); 2771for (int i = index; i < count; i++) { 2774entries[count] = null; 2803return Array.BinarySearch(entries, 0, count, element, this); 2811Array.Sort(entries, 0, count, this); 2886if (current < items.count - 1) { 2900current = items.count; 2919if (current == -1 || current == items.count) {