2007-05-25 Jonathan Chambers <joncham@gmail.com>
[mcs.git] / tests / gtest-287.cs
blob211e8175a9e1d92ceaf869edbf7a68d980ad884e
1 using System;
2 using System.Collections.Generic;
4 interface I {
5 void D ();
8 class X : I
10 static void Main ()
12 List<object> l = new List<object> ();
13 List<I> i = new List<I> ();
15 i.Add (new X());
17 l.AddRange (i.ToArray());
20 public void D () {}