repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #1861 from saper/home-override
[mono-project.git]
/
mcs
/
tests
/
gtest-613.cs
blob
963642b85712a3123ef5d5b054c3bb20595f870b
1
class
X
2
{
3
public static void
Foo
(
X x1
)
4
{
5
}
6
7
public static void
Main
()
8
{
9
C
<
X
,
X
,
X
>.
Test
(
new
X
());
10
}
11
12
public int
Prop
{
13
get
{
14
return
5
;
15
}
16
}
17
}
18
19
class
Y
20
{
21
}
22
23
class
C
<
T1
,
T2
,
T3
>
24
where T1
:
X
25
where T2
:
T1
26
where T3
:
T2
27
{
28
public static void
Test
(
T3 t3
)
29
{
30
X
.
Foo
(
t3
);
31
var
g
=
t3
.
Prop
;
32
}
33
}