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
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
gcs0854-2.cs
blob
0be64747e53ceaa2fa68b4f2c21f842b5ad7a1b8
1
// CS0854: An expression tree cannot contain an invocation which uses optional parameter
2
// Line: 15
3
4
using
System
;
5
using
System
.
Linq
.
Expressions
;
6
7
class
M
8
{
9
public
M
(
string
s
=
"value"
)
10
{
11
}
12
13
public static void
Main
()
14
{
15
Expression
<
Action
>
e
= () =>
new
M
();
16
}
17
}