add SafeSerializationEventArgs
[mcs.git] / tests / gtest-480.cs
blob737e0e07d0ab0aa5e86a3b8332f6ed0553d6ce3a
1 using System;
2 using System.Collections.Generic;
4 interface I<T> : ICollection<T>, IEnumerable<T>
8 class C
10 void Foo ()
12 I<object> o = null;
13 foreach (var v in o)
14 Console.WriteLine (v);
17 public static void Main ()
19 IList<int> list = new List<int> { 1, 3 };
20 var g = list.GetEnumerator ();