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
2010-05-19 Jb Evain <jbevain@novell.com>
[mcs.git]
/
tests
/
gtest-246.cs
blob
1e7ca4bd69e09918ada4e7e733101706af098928
1
using
System
;
2
3
namespace
TestCase
4
{
5
interface
ITest
6
{
7
}
8
9
class
CTest
:
ITest
10
{
11
static void
Main
()
12
{
13
}
14
15
public void
Bar
()
16
{
17
}
18
}
19
20
class
CGenericTest
<
T
,
V
>
21
where T
:
ITest
22
where V
:
CTest
,
T
,
new
()
23
{
24
public
V
Foo
()
25
{
26
V TestObject
=
new
V
();
27
TestObject
.
Bar
();
28
return
TestObject
;
29
}
30
}
31
}