projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5714 from alexischr/update_bockbuild
[mono.git]
/
mcs
/
tests
/
gtest-613.cs
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
}