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
/
cs0407-5.cs
blob
1a50cb13cd02a89a70f3856cdd26c466c0bea1f0
1
// CS0407: A method or delegate `int int.Parse(string)' return type does not match delegate `object Test.Conv(string)' return type
2
// Line: 17
3
4
using
System
;
5
6
public class
Test
7
{
8
private delegate object
Conv
(
string
str
);
9
10
public static void
Main
()
11
{
12
Conv c
=
new
Conv
(
int
.
Parse
);
13
}
14
}