3 writes to sites
System (3)
compmod\system\componentmodel\Container.cs (3)
68
sites
= new ISite[4];
79
sites
= newSites;
142
sites
= null;
12 references to sites
System (12)
compmod\system\componentmodel\Container.cs (12)
67
if (
sites
== null) {
76
if (
sites
.Length == siteCount) {
78
Array.Copy(
sites
, 0, newSites, 0, siteCount);
88
sites
[siteCount++] = newSite;
138
ISite site =
sites
[--siteCount];
168
result[i] =
sites
[i].Component;
218
if (
sites
[i] == site) {
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++) {
246
ISite s =
sites
[ i ];