add bug info
[mcs.git] / tests / gtest-iter-01.cs
blob6c904e415c53b8f206b23e433ed29943edc7437c
1 using System.Collections.Generic;
3 class C
5 class ArrayReadOnlyList<T>
7 T [] array;
8 bool is_value_type;
10 public ArrayReadOnlyList ()
14 public T this [int index]
16 get
18 return array [index];
22 public IEnumerator<T> GetEnumerator ()
24 for (int i = 0; i < array.Length; i++)
25 yield return array [i];
29 public static void Main ()