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-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
dcs1971.cs
blob
203403bb35a7e86a57ee8b2ccfc77dc56418661b
1
// CS1971: The base call to method `Foo' cannot be dynamically dispatched. Consider casting the dynamic arguments or eliminating the base access
2
// Line: 16
3
// Compiler options: -langversion:future
4
5
class
A
6
{
7
public void
Foo
(
int
i
)
8
{
9
}
10
}
11
12
class
B
:
A
13
{
14
public void
Test
()
15
{
16
dynamic
d
=
null
;
17
var
r
=
base
.
Foo
(
d
);
18
}
19
}