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 #4926 from BrzVlad/fix-tls-v5
[mono-project.git]
/
mcs
/
errors
/
cs0121-11.cs
blob
ae0740b65719ebc5811ce79b6ce6f99879eea4d4
1
// CS0121: The call is ambiguous between the following methods or properties: `IA.Foo()' and `IB.Foo()'
2
// Line: 27
3
4
interface
IA
5
{
6
void
Foo
();
7
}
8
9
interface
IBB
:
IB
10
{
11
}
12
13
interface
IB
14
{
15
int
Foo
();
16
}
17
18
interface
IC
:
IA
,
IBB
19
{
20
}
21
22
public class
Program
23
{
24
static void
Main
()
25
{
26
IC i
=
null
;
27
i
.
Foo
();
28
}
29
}