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
2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
[mcs.git]
/
errors
/
cs1533.cs
blob
188c02dd3337399481d05e27bd44e931a396f555
1
// cs1533 : Invoke cannot be called directly on a delegate
2
// Line : 11
3
4
public class
TestClass
5
{
6
delegate void
OneDelegate
(
int
i
);
7
8
static void
Main
()
9
{
10
OneDelegate d
=
new
OneDelegate
(
TestMethod
);
11
d
.
Invoke
(
1
);
12
}
13
public static void
TestMethod
(
int
i
)
14
{
15
}
16
}