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
/
cs1501-2.cs
blob
dfb0ef443cfa7548cc896404969c2d6dc5bc4e1a
1
// CS1501: No overload for method `Foo' takes `0' arguments
2
// Line: 20
3
4
class
A
5
{
6
protected virtual void
Foo
(
object
[]
arr
)
7
{
8
}
9
}
10
11
class
B
:
A
12
{
13
protected override void
Foo
(
params object
[]
arr
)
14
{
15
}
16
17
static void
Bar
()
18
{
19
B b
=
new
B
();
20
b
.
Foo
();
21
}
22
}