public ICollection GetNamespaceListSymbols(NamespaceList list) {
ArrayList match = new ArrayList();
foreach(XmlQualifiedName name in names.Keys) {
if (name != XmlQualifiedName.Empty && list.Allows(name)) {
match.Add(names[name]);
}
}
if (wildcards != null) {
foreach(string wildcard in wildcards.Keys) {
if (list.Allows(wildcard)) {
match.Add(wildcards[wildcard]);
}
}
}
if (list.Type == NamespaceList.ListType.Any || list.Type == NamespaceList.ListType.Other) {
match.Add(last); // add wildcard
}
return match;
}