<PackageReference Include="System.Diagnostics.EventLog" Version="5.0.0-preview.5.20278.1" />

EventLogEntryCollection

Defines size and enumerators for a collection of EventLogEntry instances.
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); } } }