projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add setting of The WRAP flag in the Wrap property's set method.
[mono.git]
/
mcs
/
tests
/
gen-30.cs
1
class Foo<T>
2
{
3
public Foo ()
4
{ }
5
6
public void Hello (T t)
7
{ }
8
}
9
10
class Bar<T,U> : Foo<U>
11
{
12
public Bar ()
13
{ }
14
15
public void Test (T t, U u)
16
{ }
17
}
18
19
class X
20
{
21
static void Test (Bar<int,string> bar)
22
{
23
bar.Hello ("Test");
24
bar.Test (7, "Hello");
25
}
26
27
static void Main ()
28
{
29
Bar<int,string> bar = new Bar<int,string> ();
30
Test (bar);
31
}
32
}