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-23.cs
blob
7306752b5290258d0164c1d7c8dde02f9a0b5674
1
// CS0121: The call is ambiguous between the following methods or properties: `C.M(int, string, string)' and `C.M<int>(int, int?, string)'
2
// Line: 16
3
4
class
C
5
{
6
static void
M
(
int
x
,
string
y
,
string
z
=
null
)
7
{
8
}
9
10
static void
M
<
T
>(
T t
,
int
?
u
,
string
z
=
null
)
11
{
12
}
13
14
static void
Main
()
15
{
16
M
(
123
,
null
);
17
}
18
}