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-027.cs
blob
cb2650e682a23918074f4fbcfd1c1211240df382
1
// A generic type declaration may have a non-generic base type.
2
3
class
TheBase
4
{
5
public void
BaseFunc
()
6
{ }
7
}
8
9
class
Stack
<
S
> :
TheBase
10
{
11
public void
Hello
(
S s
)
12
{ }
13
}
14
15
class
Test
<
T
> :
Stack
<
T
>
16
{
17
public void
Foo
(
T t
)
18
{ }
19
}
20
21
class
X
22
{
23
Test
<
int
>
test
;
24
25
void
Test
()
26
{
27
test
.
Foo
(
4
);
28
test
.
Hello
(
3
);
29
test
.
BaseFunc
();
30
}
31
32
public static void
Main
()
33
{ }
34
}