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
[cominterop] Default to [in] parameter direction when not specified explicitly.
[mono-project.git]
/
mcs
/
errors
/
cs1746.cs
blob
d814ed29f494b9bcdb8493cb24502b1bcd3cf352
1
// CS1746: The delegate `C.IntDelegate' does not contain a parameter named `b'
2
// Line: 18
3
4
using
System
;
5
6
class
C
7
{
8
delegate int
IntDelegate
(
int
a
);
9
10
static int
TestInt
(
int
u
)
11
{
12
return
29
;
13
}
14
15
public static void
Main
()
16
{
17
var
del
=
new
IntDelegate
(
TestInt
);
18
del
(
b
:
7
);
19
}
20
}