repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
remove NotWorking
[mcs.git]
/
tests
/
gtest-279.cs
blob
555128eee31b36ed30080636010365802bb5fd9a
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