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
2009-11-20 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
gcs0828-5.cs
blob
70bb786d59271c21e42e6de0488e99d30a23d16b
1
// CS0828: An anonymous type property `Value' cannot be initialized with `void'
2
// Line: 13
3
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
}