/// <summary> /// Returns the enumerable of the depending <see cref="IZincFundamentalTypeInst"/>. /// </summary> /// <returns>An <see cref="IEnumerable{T}"/> of the depending types.</returns> public IEnumerable <IMiniZincTypeInst> GetDependingTypes() { return(DataList.Append(DataList.Prepend(this.IndexType, this.IndexType.GetDependingTypes()), DataList.Prepend(this.ElementType, this.ElementType.GetDependingTypes()))); }