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
2008-09-29 Jb Evain <jbevain@novell.com>
[mcs.git]
/
tests
/
gtest-069.cs
blob
3305f2e940805c9e03098f2dc7423f9d5f237a93
1
public interface
IFoo
2
{
3
int
GetHashCode
();
4
}
5
6
public interface
IFoo
<
T
>
7
{
8
int
GetHashCode
();
9
}
10
11
public class
Test
<
T
>
12
{
13
public int
Foo
(
IFoo
<
T
>
foo
)
14
{
15
return
foo
.
GetHashCode
();
16
}
17
18
public int
Foo
(
IFoo foo
)
19
{
20
return
foo
.
GetHashCode
();
21
}
22
}
23
24
class
X
25
{
26
static void
Main
()
27
{ }
28
}