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
retag
[mcs.git]
/
errors
/
cs0762.cs
blob
5067d797ef1801648ac4c620d26be292ee37860c
1
// CS0762: Cannot create delegate from partial method declaration `C.Foo()'
2
// Line: 12
3
4
partial class
C
5
{
6
delegate void
D
();
7
8
partial void
Foo
();
9
10
static void
Main
()
11
{
12
D d
=
new
D
(
new
C
().
Foo
);
13
}
14
}