Merge pull request #4816 from BrzVlad/fix-remoting-exception
[mono.git] / mcs / tests / gtest-279.cs
1 using System;
2 using System.Collections.Generic;
3
4 interface IFoo
5 {
6         void Bar();
7         IList<T> Bar<T>();
8 }
9
10 class Foo : IFoo
11 {
12         public void Bar()
13         {
14                 Console.WriteLine("Bar");
15         }
16         
17         public IList<T> Bar<T>()
18         {
19                 Console.WriteLine("Bar<T>");
20                 return null;
21         }
22 }
23
24 class BugReport
25 {
26         public static void Main(string[] args)
27         {
28                 Foo f = new Foo();
29                 f.Bar();
30                 f.Bar<int>();
31         }
32 }
33
34