internal void AppendItem(ISet <Namespace> set) { ISet <Namespace> newTypes = set; bool madeSet = false; foreach (var type in IndexTypes) { newTypes = newTypes.Union(type, ref madeSet); } if (IndexTypes.Length != 1 || IndexTypes[0].Count != newTypes.Count) { ReturnValue.EnqueueDependents(); } UnionType = newTypes; IndexTypes = new[] { newTypes }; }