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
[interp] Reduce computation under calc_section mutex
[mono-project.git]
/
mcs
/
tests
/
gtest-635.cs
blob
8bb31b3773e788722d9a76e33af303b96bbc42ed
1
public interface
I
<
T
>
2
{
3
T
Clone
();
4
T1 Clone
<
T1
>()
where T1
:
T
;
5
}
6
7
public interface
I2
:
I
<
I2
>
8
{
9
}
10
11
public class
TestClass
:
I2
12
{
13
public
I2
Clone
()
14
{
15
return null
;
16
}
17
18
public
T1 Clone
<
T1
> ()
where T1
:
I2
19
{
20
return
(
T1
)
Clone
();
21
}
22
23
public static void
Main
()
24
{
25
new
TestClass
();
26
}
27
}