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
[System] Throw PlatformNotSupportedException if NetworkInformation.NetworkChange...
[mono-project.git]
/
mcs
/
tests
/
dtest-041.cs
blob
ea5a23a19266df5e5d32029022b14ec4dd210288
1
2
class
A
<
AA
>
3
{
4
public virtual
AA Foo
<
U
> (
U u
)
5
{
6
return default
(
AA
);
7
}
8
}
9
10
class
B
:
A
<
object
>
11
{
12
public override dynamic
Foo
<
T
> (
T t
)
13
{
14
return
'c'
;
15
}
16
}
17
18
public class
MainClass
19
{
20
public static int
Main
()
21
{
22
B b
=
new
B
();
23
char
res
=
b
.
Foo
<
int
> (
5
);
24
return
0
;
25
}
26
}