projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2006-01-16 Atsushi Enomoto <atsushi@ximian.com>
[mono.git]
/
mcs
/
tests
/
gtest-173.cs
1
class List <t> {
2
public void foo <b> (List <t> x) {
3
System.Console.WriteLine ("{0} - {1}", typeof (t), x.GetType ());
4
}
5
}
6
7
class C {}
8
class D {}
9
10
11
class M {
12
static void Main () {
13
List <D> x = new List<D> ();
14
x.foo <C> (x);
15
List <string> y = new List<string> ();
16
y.foo <C> (y);
17
}
18
}