projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* expression.cs (Invocation.IsApplicable): Reorganize slightly to
[mono.git]
/
mcs
/
tests
/
gtest-189.cs
1
interface IFoo {}
2
class Bar : IFoo {}
3
4
class Cont<T> {
5
T f;
6
public Cont(T x) { f = x; }
7
public override string ToString ()
8
{
9
return f.ToString ();
10
}
11
}
12
13
class M {
14
public static void Main ()
15
{
16
Cont<IFoo> c = new Cont<IFoo> (new Bar ());
17
System.Console.WriteLine (c);
18
}
19
}