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
[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git]
/
mcs
/
errors
/
cs1594-1.cs
blob
f3173e16ccb4ea70f84be89546ebcf0c34e384e8
1
// CS1594: Delegate `Test.Foo' has some invalid arguments
2
// Line: 10
3
4
namespace
Test
{
5
delegate void
Foo
(
string
x
,
params string
[]
args
);
6
class
Testee
{
7
static void
Bar
(
string
x
,
params string
[]
args
) {}
8
static void
Main
() {
9
Foo bar
=
new
Foo
(
Bar
);
10
bar
(
"i = "
,
5
);
11
}
12
}
13
}