projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Allow passing null to JsonArray.Add()
[mono.git]
/
mcs
/
tests
/
gtest-635.cs
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
}