SingletonList<T> struct SingletonList<T> : IReadOnlyList<T>, IEnumerable<T>, IEnumerable, IReadOnlyCollection<T> Documentation Code public Enumerator<T> GetEnumerator() Gets enumerator for the single element in the list.