diff options
Diffstat (limited to 'mcs/class/System/System.Diagnostics/EventLogEntryCollection.cs')
-rw-r--r-- | mcs/class/System/System.Diagnostics/EventLogEntryCollection.cs | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/mcs/class/System/System.Diagnostics/EventLogEntryCollection.cs b/mcs/class/System/System.Diagnostics/EventLogEntryCollection.cs deleted file mode 100644 index 746eec2a6c2..00000000000 --- a/mcs/class/System/System.Diagnostics/EventLogEntryCollection.cs +++ /dev/null @@ -1,57 +0,0 @@ -// -// System.Diagnostics.EventLogEntryCollection.cs -// -// Authors: -// Jonathan Pryor (jonpryor@vt.edu) -// -// (C) 2002 Jonathan Pryor -// - - -using System; -using System.Collections; -using System.Diagnostics; - -namespace System.Diagnostics { - - public class EventLogEntryCollection : ICollection, IEnumerable { - - private ArrayList eventLogs = new ArrayList (); - - internal EventLogEntryCollection() - { - } - - public int Count { - get {return eventLogs.Count;} - } - - public virtual EventLogEntry this [int index] { - get {return (EventLogEntry) eventLogs[index];} - } - - bool ICollection.IsSynchronized { - get {return eventLogs.IsSynchronized;} - } - - object ICollection.SyncRoot { - get {return eventLogs.SyncRoot;} - } - - public void CopyTo (EventLogEntry[] eventLogs, int index) - { - eventLogs.CopyTo (eventLogs, index); - } - - public IEnumerator GetEnumerator () - { - return eventLogs.GetEnumerator (); - } - - void ICollection.CopyTo (Array array, int index) - { - eventLogs.CopyTo (array, index); - } - } -} - |