public IEnumerable <object> ReadSet(Type knownType, string itemName, bool allowCircularDependencies) { foreach (var element in CurrentGroup.Elements(itemName)) { _groups.Push(element); yield return(ReadContents(knownType, allowCircularDependencies)); _groups.Pop(); } }