projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[tests] Add some missing files to EXTRA_DIST
[mono.git]
/
mcs
/
errors
/
cs1501-19.cs
1
// CS1501: No overload for method `Call' takes `0' arguments
2
// Line: 8
3
4
class A<T> where T : CB, IA
5
{
6
void Foo (T t)
7
{
8
t.Call ();
9
}
10
}
11
12
class CB : CA
13
{
14
}
15
16
class CA
17
{
18
public void Call (int arg)
19
{
20
}
21
}
22
23
interface IA
24
{
25
void Call (bool arg, int arg2);
26
}