internal ArrayList Depends(XmlSchemaObject item) { if (item.Parent is XmlSchema) { if (scope[item] != null) return (ArrayList)scope[item]; ArrayList refs = new ArrayList(); Depends(item, refs); scope.Add(item, refs); return refs; } return empty; }