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
[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git]
/
mcs
/
errors
/
cs0828-3.cs
blob
018ff9274d3e603218f1bf11fdb3020df2631928
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
}