// Needed for NET30 #if !NET_4_6 using System.Collections.Generic; using System.Collections.ObjectModel; using LinqInternal.Collections.ThreadSafe; namespace LinqInternal.Collections { [System.Diagnostics.DebuggerNonUserCode] internal sealed class EmptyCollection : ReadOnlyCollection, IReadOnlyCollection { private static readonly EmptyCollection _instance = new EmptyCollection(); private EmptyCollection() : base(ArrayReservoir.EmptyArray) { } public static EmptyCollection Instance { get { return _instance; } } } } #endif