internal void AddPackage(PackageScope pscope){
if (this.packages == null)
this.packages = new ArrayList(8);
IEnumerator e = this.packages.GetEnumerator();
while (e.MoveNext()){
PackageScope cps = (PackageScope)e.Current;
if (cps.name.Equals(pscope.name)){
cps.owner.MergeWith(pscope.owner);
return;
}
}
this.packages.Add(pscope);
}