projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mcs] C#7 out variable declaration
[mono.git]
/
mcs
/
errors
/
cs0828-3.cs
1
// CS0828: An anonymous type property `Value' cannot be initialized with `anonymous method'
2
// Line: 9
3
4
5
public class Test
6
{
7
static void Main ()
8
{
9
var v = new { Value = delegate () { return 1; } };
10
}
11
}