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
update readme (#21797)
[mono-project.git]
/
mcs
/
errors
/
cs0837-2.cs
blob
eea4c130ea12f84ecf8d1f8ab3c658af097503b6
1
// CS0837: The `as' operator cannot be applied to a lambda expression, anonymous method, or method group
2
// Line: 14
3
4
class
X
5
{
6
delegate void
D
();
7
8
static void
Test
(
D d
)
9
{
10
}
11
12
static void
Main
()
13
{
14
Test
((() =>
{ }
)
as
D
);
15
}
16
}