2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / tests / gtest-279.cs
blob555128eee31b36ed30080636010365802bb5fd9a
1 using System;
2 using System.Collections.Generic;
4 interface IFoo
6 void Bar();
7 IList<T> Bar<T>();
10 class Foo : IFoo
12 public void Bar()
14 Console.WriteLine("Bar");
17 public IList<T> Bar<T>()
19 Console.WriteLine("Bar<T>");
20 return null;
24 class BugReport
26 static void Main(string[] args)
28 Foo f = new Foo();
29 f.Bar();
30 f.Bar<int>();