3 writes to siteCount
System (3)
compmod\system\componentmodel\Container.cs (3)
88
sites[
siteCount
++] = newSite;
138
ISite site = sites[--
siteCount
];
219
siteCount
--;
10 references to siteCount
System (10)
compmod\system\componentmodel\Container.cs (10)
76
if (sites.Length ==
siteCount
) {
77
ISite[] newSites = new ISite[
siteCount
* 2];
78
Array.Copy(sites, 0, newSites, 0,
siteCount
);
137
while (
siteCount
> 0) {
166
IComponent[] result = new IComponent[
siteCount
];
167
for (int i = 0; i <
siteCount
; i++) {
217
for (int i = 0; i <
siteCount
; i++) {
220
Array.Copy(sites, i + 1, sites, i,
siteCount
- i);
221
sites[
siteCount
] = null;
245
for (int i = 0; i < Math.Min(
siteCount
,sites.Length); i++) {