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
Merge pull request #3806 from BrzVlad/feature-parallel-gc-final
[mono-project.git]
/
mcs
/
errors
/
cs0121-19.cs
blob
38ccfe93e4ac6a9716ddc4085de1302ed312d0ac
1
// CS0121: The call is ambiguous between the following methods or properties: `C.M(System.Func<byte,int>)' and `C.M(System.Action<int>)'
2
// Line: 18
3
4
using
System
;
5
6
class
C
7
{
8
static void
M
(
Func
<
byte
,
int
>
arg
)
9
{
10
}
11
12
static void
M
(
Action
<
int
>
arg
)
13
{
14
}
15
16
static void
Main
()
17
{
18
M
(
l
=>
l
.
GetHashCode
());
19
}
20
}