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
[sdks] Fix README.md
[mono-project.git]
/
mcs
/
tests
/
gtest-246.cs
blob
34718b6e1b69c88ca5cf42a9afddf54c0285fc93
1
using
System
;
2
3
namespace
TestCase
4
{
5
interface
ITest
6
{
7
}
8
9
class
CTest
:
ITest
10
{
11
public 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
}