[corlib] Fix a few NSLogWriter issues. (#13799)
[mono-project.git] / mcs / tests / gtest-279.cs
blob5f6eceb12a7bddc01eb666992bf71ecdf8c6691e
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 public static void Main(string[] args)
28 Foo f = new Foo();
29 f.Bar();
30 f.Bar<int>();