repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Reenable AOT, it wasn't enabled on the x86 buildbot anyway.
[mcs.git]
/
tests
/
gtest-155.cs
blob
7b615431c2ab94c93dbb2b5a6527de653dd1aa3a
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
}