projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[xbuild] Add support for Before/AfterTargets.
[mono.git]
/
mcs
/
errors
/
cs0837-2.cs
1
// CS0837: The `as' operator cannot be applied to a lambda expression or anonymous method
2
// Line: 15
3
4
5
class X
6
{
7
delegate void D ();
8
9
static void Test (D d)
10
{
11
}
12
13
static void Main ()
14
{
15
Test ((() => { }) as D);
16
}
17
}