repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[loader] LoadFrom of problematic images should reprobe
[mono-project.git]
/
mcs
/
errors
/
cs0828-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
}