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
/
gcs0828-4.cs
blob
f2a8ffe3f445d7cf11c04020006c82c09847f01d
1
// CS0828: An anonymous type property `Value' cannot be initialized with `lambda expression'
2
// Line: 9
3
4
5
public class
Test
6
{
7
static void
Main
()
8
{
9
var
v
=
new
{ Value = i => 1 }
;
10
}
11
}