8 writes to eventCount
System (8)
compmod\system\componentmodel\EventDescriptorCollection.cs (8)
76
this.
eventCount
= 0;
79
this.
eventCount
= this.events.Length;
99
this.
eventCount
= eventCount;
149
events[
eventCount
++] = value;
161
eventCount
= 0;
200
eventCount
= 0;
263
eventCount
++;
293
eventCount
--;
19 references to eventCount
System (19)
compmod\system\componentmodel\EventDescriptorCollection.cs (19)
111
return
eventCount
;
121
if (index >=
eventCount
) {
148
EnsureSize(
eventCount
+ 1);
150
return
eventCount
- 1;
209
Array.Copy(events, 0, newEvents, 0,
eventCount
);
247
return Array.IndexOf(events, value, 0,
eventCount
);
258
EnsureSize(
eventCount
+ 1);
259
if (index <
eventCount
) {
260
Array.Copy(events, index, events, index + 1,
eventCount
- index);
289
if (index <
eventCount
- 1) {
290
Array.Copy(events, index + 1, events, index,
eventCount
- index - 1);
292
events[
eventCount
- 1] = null;
303
if (events.Length ==
eventCount
) {
307
return new ArraySubsetEnumerator(events,
eventCount
);
318
return new EventDescriptorCollection(this.events, this.
eventCount
, this.namedSort, this.comparer);
329
return new EventDescriptorCollection(this.events, this.
eventCount
, names, this.comparer);
339
return new EventDescriptorCollection(this.events, this.
eventCount
, names, comparer);
349
return new EventDescriptorCollection(this.events, this.
eventCount
, this.namedSort, comparer);
452
if (index >=
eventCount
) {