projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* ecore.cs (Expression.Error_ValueCannotBeConverted): Add special
[mono.git]
/
mcs
/
errors
/
gcs0828-5.cs
1
// CS0828: An anonymous type property `Value' cannot be initialized with `void'
2
// Line: 13
3
// Compiler options: -langversion:linq
4
5
public class Test
6
{
7
static void Error ()
8
{
9
}
10
11
static void Main ()
12
{
13
var v = new { Value = Error () };
14
}
15
}