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
TaskAwaiter from CoreFX
[mono-project.git]
/
mcs
/
errors
/
cs0123-10.cs
blob
43d5e5d6368cacc528ea29f8cf8076244c81fec0
1
// CS0123: A method or delegate `object.ToString()' parameters do not match delegate `System.Func<string>()' parameters
2
// Line: 16
3
// Compiler options: -langversion:latest
4
5
using
System
;
6
7
public ref struct
S
8
{
9
}
10
11
class
Test
12
{
13
public static void
Main
()
14
{
15
var
s
=
new
S
();
16
Func
<
string
>
f
=
s
.
ToString
;
17
}
18
}