projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Bump mono-extensions to fix build break (#5677)
[mono.git]
/
mcs
/
tests
/
gtest-620.cs
1
interface I<T>
2
{
3
}
4
5
class A<T>
6
{
7
public virtual T M<U> (U u) where U : T
8
{
9
return u;
10
}
11
}
12
13
class B<W> : A<I<W>>, I<string>
14
{
15
public override I<W> M<U> (U u)
16
{
17
return u;
18
}
19
}
20
21
class Bug
22
{
23
public static void Main ()
24
{
25
var b = new B<string> ();
26
b.M (b);
27
}
28
}