<PackageReference Include="System.Diagnostics.EventLog" Version="4.6.0-preview7.19362.9" />

EventLogEntryCollection

using System.Collections; namespace System.Diagnostics { public class EventLogEntryCollection : ICollection, IEnumerable { public int Count { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } public virtual EventLogEntry this[int index] { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } bool ICollection.IsSynchronized { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } object ICollection.SyncRoot { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } internal EventLogEntryCollection() { } public void CopyTo(EventLogEntry[] entries, int index) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } public IEnumerator GetEnumerator() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } void ICollection.CopyTo(Array array, int index) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } }