projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Wed Oct 17 13:24:33 CEST 2007 Paolo Molaro <lupus@ximian.com>
[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
static void Main(string[] args)
27
{
28
Foo f = new Foo();
29
f.Bar();
30
f.Bar<int>();
31
}
32
}
33
34