repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add monotouch sources file
[mcs.git]
/
errors
/
gcs0837.cs
blob
94c1f8510b9e0a78215697af9170e55777e8b4d5
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
}