repo.or.cz
/
mono-project
/
dkf.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-02-10 Jeffrey Stedfast <fejj@novell.com>
[mono-project/dkf.git]
/
mcs
/
tests
/
gtest-244.cs
blob
1e2ba1ce7a708d2b8ae94ec01b62f1fd52629bc6
1
public class
B
2
{
3
public virtual
T Get
<
T
> ()
4
{
5
return default
(
T
);
6
}
7
}
8
9
public class
A
:
B
10
{
11
public override
T Get
<
T
>()
12
{
13
T resp
=
base
.
Get
<
T
> ();
14
System
.
Console
.
WriteLine
(
"T: "
+
resp
);
15
return
resp
;
16
}
17
18
public static void
Main
()
19
{
20
new
A
().
Get
<
int
> ();
21
}
22
}