2 // Mono.Data.TdsClient.TdsErrorCollection.cs
5 // Tim Coleman (tim@timcoleman.com)
7 // Copyright (C) 2002 Tim Coleman
10 using Mono.Data.TdsClient.Internal;
12 using System.Collections;
14 namespace Mono.Data.TdsClient {
15 public class TdsErrorCollection : ICollection, IEnumerable
19 ArrayList list = new ArrayList ();
26 get { return list.Count; }
29 public TdsError this [int index] {
30 get { return (TdsError) list[index]; }
33 bool ICollection.IsSynchronized {
35 get { throw new NotImplementedException (); }
38 object ICollection.SyncRoot {
40 get { throw new NotImplementedException (); }
43 #endregion // Properties
48 public void CopyTo (Array array, int index)
50 throw new NotImplementedException ();
53 public IEnumerator GetEnumerator ()
55 return list.GetEnumerator ();