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-153.cs
1
public interface IBase
2
{
3
void DoSomeThing();
4
}
5
6
public interface IExtended : IBase
7
{
8
void DoSomeThingElse();
9
}
10
11
public class MyClass<T> where T: IExtended, new()
12
{
13
public MyClass()
14
{
15
T instance = new T();
16
instance.DoSomeThing();
17
}
18
}
19
20
class X
21
{
22
static void Main ()
23
{ }
24
}