repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #1861 from saper/home-override
[mono-project.git]
/
mcs
/
tests
/
gtest-155.cs
blob
a6a77d3d38c8c481d6460fdff55148ca9b06770d
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
public static void
Main
()
23
{ }
24
}